title: The id "constraintLayout" is not defined anywhere
body: <p>Why new created constraintLayout does not have <code>android:id="@+id/constraint_layout_file_name"</code>?</p>
  
  <p>After creating new constraintLayout we suppose to go to Design view and start creating our layout. But when we do so and we add to our layout for example a TextView, place it where we like and provide constraints so it stays like this after pushing layout on a device it will not stay where we want it to be. It will appear on left top corner on a device because constraints we provided have error</p>
  
  <blockquote>
    <p>The id "constraintLayout" is not defined anywhere.</p>
  </blockquote>
  
  <p>What we have to do is to manually add <code>android:id="@+id/constraint_layout_file_name"</code> and edit all constraints. Example:</p>
  
  <p>wrong constraint:</p>
  
  <pre><code>app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
  </code></pre>
  
  <p>corect one: </p>
  
  <pre><code>app:layout_constraintLeft_toLeftOf="@+id/constraint_layout_file_name"
  </code></pre>
  
  <p>Reason why I do ask is that it took me too much time to figure out what I'm doing wrong and I think I'm not the only one.</p>