title: Android: Does binding variable and passing to include tag layout work?
body: <p>I have a problem with databinding. In the documentation, it said we can use include tag to host a custom layout and passing binding variable to it. When I tryout on 4.1.2 phone and emulator, the data not seems to bind but only bind the main layout fields.</p>
  
  <p>This is my code of the main layout: </p>
  
  <pre><code>&lt;layout&gt;
  
  &lt;data&gt;
      &lt;variable
          name="Job"
          type="nz.co.certifi.CERTIFI.Model.JobModel" /&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;ScrollView
      android:background="@color/TransparentColor"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/scrollView"
      android:layout_alignParentTop="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="false"
      android:layout_alignParentEnd="false"
      android:layout_alignParentBottom="true"
      android:layout_alignParentRight="true"&gt;
  
  
      &lt;RelativeLayout
          android:background="@color/TransparentColor"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;include
              app:Job="@{Job}"
              android:id="@+id/layoutCertification"
              layout="@layout/view_certification_control"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_alignParentTop="true"/&gt;
  </code></pre>
  
  <p>This is the layoutCertification:</p>
  
  
  
  <pre><code>&lt;layout&gt;
  &lt;data&gt;
      &lt;variable
          name="Job"
          type="nz.co.certifi.CERTIFI.Model.JobModel" /&gt;
      &lt;variable
          name="Form"
          type="nz.co.certifi.CERTIFI.Model.FormROIModel" /&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;nz.co.certifi.CERTIFI.Control.EditTextWithModel
      xmlns:sparkNS="http://schemas.android.com/apk/res/nz.co.certifi.CERTIFI"
      sparkNS:modelProperty="CertificateId"
      sparkNS:modelType="JobModel"
      sparkNS:validationType="required_only"
      android:contentDescription="Job: Form Certificate Id"
      sparkNS:errorRequiredMessage="@string/error_reference_no_required"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:hint="@string/activity_roi_step_one_hint_reference_no"
      android:textAppearance="?android:attr/textAppearanceLarge"
      android:text="@{Job == null? Form.certificateId : Job.certificateId}"
      android:textStyle="bold"
      android:id="@+id/txtReferenceNo"
      android:layout_alignParentTop="false"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true"
      android:layout_toLeftOf="@+id/btnReference"
      android:layout_toStartOf="@+id/btnReference"
      android:layout_centerVertical="true" /&gt;
  </code></pre>