title: Error with ConstraintLayout: No resource found that matches the given name
body: <p>I learn how to use ConstraintLayout. And have problem.</p>
  
  <p>My activity_test.xml</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"
      android:padding="@dimen/default_padding"&gt;
  
      &lt;RelativeLayout
          android:id="@+id/reserved_layout_search"
          android:layout_width="0dp"
          android:layout_height="0dp"
          app:layout_constraintBottom_toBottomOf="@id/btnScanQRCode"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toLeftOf="@id/btnScanQRCode"
          app:layout_constraintTop_toTopOf="parent"&gt;
  
          &lt;EditText
              android:id="@+id/etSearchWorker"
              style="@style/EditTextSearch"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              /&gt;
  
          &lt;Button
              android:id="@+id/btnClearSearch"
              android:layout_width="32dp"
              android:layout_height="32dp"
              android:layout_alignParentEnd="true"
              android:layout_alignParentRight="true"
              android:layout_centerVertical="true"
              android:background="@drawable/ic_clear"/&gt;
  
      &lt;/RelativeLayout&gt;
  
      &lt;Button
          android:id="@+id/btnScanQRCode"
          android:layout_width="@dimen/search_qr_button_size"
          android:layout_height="@dimen/search_qr_button_size"
          android:background="@drawable/button_qr_background"
          android:text="@string/button_qr_text"
          android:textColor="@color/white"
          app:layout_constraintLeft_toRightOf="@id/reserved_layout_search"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toTopOf="parent"/&gt;
  
      &lt;TextView
          android:id="@+id/tvPlanningCountInfo"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="8dp"
          android:text="ddsadsas"
          app:layout_constraintHorizontal_chainStyle="spread"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toLeftOf="@id/tvReservedContInfo"
          app:layout_constraintTop_toBottomOf="@id/btnScanQRCode"
          /&gt;
  
      &lt;TextView
          android:id="@+id/tvReservedContInfo"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="dsdsadasdasad :44"
          app:layout_constraintLeft_toRightOf="@id/tvPlanningCountInfo"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toTopOf="@id/tvPlanningCountInfo"
          /&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/rvReserved"
          android:layout_width="0dp"
          android:layout_height="0dp"
          android:layout_marginTop="@dimen/default_padding"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toBottomOf="@id/tvPlanningCountInfo"
          app:layout_constraintBottom_toBottomOf="parent"
          /&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>And when i build/rebuild/clean project i handle error: </p>
  
  <pre><code>/Users/ME/Documents/Projects/testApp/app/src/main/res/layout/activity_test.xml
  Error:(14, 49) No resource found that matches the given name (at 'layout_constraintBottom_toBottomOf' with value '@id/btnScanQRCode').
  Error:(16, 46) No resource found that matches the given name (at 'layout_constraintRight_toLeftOf' with value '@id/btnScanQRCode').
  Error:(56, 46) No resource found that matches the given name (at 'layout_constraintRight_toLeftOf' with value '@id/tvReservedContInfo').
  </code></pre>
  
  <p>in what may be the problem? Maybe it was possible to write more optimally this piece of code?</p>
  
  <p>but preview works: <a href="https://i.stack.imgur.com/4hVdP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4hVdP.png" alt="screen"></a></p>