title: How to set a layout default value from parent layout using databinding and <include> tag in order to see it in preview?
body: <p>I'm trying to use a view with databinding using the include tag multiple times.
  It works great when the app runs, but in preview I don't manage to make it work in the parent.
  Instead, I can do it on the view itself, but it implies that if I use it 5 times in the same layout, I'll have 5 exact copies. It's not a blocking issue, but for debugging/ UI, it makes things a bit more complicated.</p>
  
  <p>Here's the code of the replicated view:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"&gt;
  
    &lt;data&gt;
      &lt;import type="android.view.View"/&gt;
      &lt;import type="android.text.TextUtils"/&gt;
      &lt;variable
        name="title"
        type="String" /&gt;
      &lt;variable
        name="value"
        type="String" /&gt;
    &lt;/data&gt;
  
    &lt;LinearLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  
      &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/white"
        android:text="@{(!TextUtils.isEmpty(title) ? title : `Title`).concat(`:`), default=`Title:`}" /&gt;
  
  
      &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@{!TextUtils.isEmpty(value) ? @color/darkBlue : @color/red, default=@color/red }"
        android:text="@{(!TextUtils.isEmpty(value) ? value : `Unknown`), default=`Unknown`}" /&gt;
  
    &lt;/LinearLayout&gt;
  &lt;/layout&gt;
  </code></pre>
  
  <p>And here's how it's included:</p>
  
  <pre><code>&lt;include layout="@layout/titled_entry"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           bind:title="@{`Firstname`}"
           bind:value="@{user.firstName}" /&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/5wa3J.png" rel="nofollow noreferrer">In Android it looks like this</a></p>
  
  <p><a href="https://i.stack.imgur.com/el0xl.png" rel="nofollow noreferrer">But in preview it looks like this</a></p>
  
  <p>Does anyone know how to fix it ?</p>
  
  <p>Thanks, and have a good day in those complicated times.</p>