title: How do I use databinding to combine a string from resources with a dynamic variable in XML?
body: <p>I  have a TextView which has a hardcoded string and I have a dynamic variable that I want to put at the end of this string. This is my code:</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      android:layout_marginLeft="16dp"
      android:layout_marginRight="16dp"&gt;
      &lt;TextView
          android:id="@+id/PeopleName"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:text="@string/Generic_Text"+"@{ Profile.name }" /&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I am having an issue with  <code>android:text="@string/Generic_Text"+"@{ Profile.name }"</code> . The <code>Generic_Text</code> states " My Name is " then the <code>Profile.name</code> is dynamic and obviously changes from profile to profile. I want it so that the whole TextView output is <strong>My Name is {Profile.name}</strong>. Any help would be great.</p>