title: ConstraintLayout Problems using <include>
body: <p>I am trying to figure out why this does not work. I am adding nothing but two <code>&lt;include&gt;</code> sections in a <code>ConstraintLayout</code> and the layout is not following any of the constraints that I set up. I am trying to begin migrating to the use of <code>ConstraintLayout</code> as my go-to layout, but things like this keep pushing me back to <code>RelativeLayout</code> and <code>LinearLayout</code>.</p>
  
  <p>Here is the top level layout file (the ConstraintLayout), showing some of the constraints that are not working:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:layout_editor_absoluteY="81dp"
      tools:layout_editor_absoluteX="0dp"&gt;
  
      &lt;include
          android:id="@+id/includeButton"
          layout="@layout/include_button_panel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintRight_toRightOf="parent" /&gt;
  
      &lt;include
          android:id="@+id/includeText"
          layout="@layout/include_text_panel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintLeft_toLeftOf="parent" /&gt;
  
  &lt;/android.support.constraint.ConstraintLayout
  </code></pre>
  
  <p>Here is the first included layout (include_button_panel):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;merge
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;Button
          android:id="@+id/include_button_panel_button"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Touch me!" /&gt;
  
  &lt;/merge&gt;
  </code></pre>
  
  <p>Here is the second included layout (include_text_panel):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;merge
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;TextView
          android:id="@+id/include_text_panel_text"
          android:layout_width="wrap_content"
          android:background="#7986cb"
          android:layout_height="wrap_content"
          android:text="This is the text panel"
          android:textColor="@android:color/black"
          android:textSize="18sp" /&gt;
  &lt;/merge&gt;
  </code></pre>