title: Constraint Layout not visible on the Layout file...And getting the error while inflating any view on it
body: <p>I am using the constraint layout (<code>android.support.constraint.ConstraintLayout</code>) as the main layout in my XML file. As we get the two View of layout(One is for User View And Second is for the drag and drop the view and provide the relation between them) .But i am getting only one window which is totally blank and look alike below :-<a href="https://i.stack.imgur.com/LRp2N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LRp2N.png" alt="enter image description here"></a></p>
  
  <p>And getting this error while using any view in my layout.Please check below image for it</p>
  
  <p><a href="https://i.stack.imgur.com/N1tbu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/N1tbu.png" alt="enter image description here"></a></p>
  
  <p>My layout file is as below:-</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:tools="http://schemas.android.com/tools"
      android:id="@+id/constraintLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:layout_editor_absoluteY="25dp"
      tools:layout_editor_absoluteX="0dp"&gt;
  
      &lt;ImageView
          android:id="@+id/image_shot"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          tools:layout_editor_absoluteY="0dp"
          tools:layout_editor_absoluteX="0dp" /&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>I have tried the below solution on SO, but it is not working for me,Please check the link , which i have searched</p>
  
  <p><a href="https://stackoverflow.com/questions/37817537/this-view-is-not-constrained">1. First Link</a> <br>
  <a href="https://stackoverflow.com/questions/37859613/this-view-is-not-constrained-vertically-at-runtime-it-will-jump-to-the-left-unl">2. Second Link</a> <br>
  <a href="https://stackoverflow.com/questions/37518745/evenly-spacing-views-using-constraintlayout">3. Third Link</a><br></p>
  
  <p>Please help me to short out from this problem.Thanks</p>