title: How do you concatenate two strings to show in one textview?
body: <p>I am working on a Text Adventure Game. </p>
  
  <p>In the strings.xml I have two strings.</p>
  
  <p>How do you add the two strings together so that a textview shows:</p>
  
  <p>You are in a Garage.</p>
  
  <p>Thanks in advance.</p>
  
  <p>strings.xml</p>
  
  <pre><code>&lt;string name="location_prefix"&gt;You are in a &lt;/string&gt;
  &lt;string name="location_name"&gt;Garage&lt;/string&gt;
  </code></pre>
  
  <p>MainActivity.kt</p>
  
  <pre><code>package com.example.textdisplay
  
  import androidx.appcompat.app.AppCompatActivity
  import android.os.Bundle
  
  class MainActivity : AppCompatActivity() {
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(R.layout.activity_main)
      }
  }
  </code></pre>
  
  <p>Gradle:</p>
  
  <pre><code>buildscript {
      ext.kotlin_version = '1.3.21'
      repositories {
          google()
          jcenter()
  
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.4.0'
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
  
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  } 
  </code></pre>