Constraint layout ignores margins properties when specifying them from the properties inspector
<p>I'm using android studio 2.2 p7 with <code>compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha4'</code>
after using infer button it creates all the constraint perfectly. However the margin top value is not there in the layout xml. When I change it from the inspector theres no effect on the xml file while when I change it directly from xml file it works.</p>

<p>screenshot 
<a href="https://i.stack.imgur.com/3KDZt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3KDZt.png" alt="enter image description here"></a></p>

<p>layout file

</p>

<pre><code>&lt;TextView
    android:layout_marginTop="16dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/textView6"
    tools:text="@string/singapore"
    android:textStyle="normal|bold"
    android:textSize="30sp"
    android:fontFamily="monospace"
    tools:layout_constraintTop_creator="1"
    tools:layout_constraintRight_creator="1"
    app:layout_constraintRight_toRightOf="@+id/constraintLayout"
    tools:layout_constraintLeft_creator="1"
    app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
    app:layout_constraintTop_toTopOf="@+id/constraintLayout"
    android:text="@string/singapore" /&gt;

&lt;ImageView
    android:src="@drawable/singapore"
    android:layout_width="wrap_content"
    android:id="@+id/imageView6"
    android:layout_height="220dp"
    android:scaleType="centerCrop"
    tools:layout_constraintTop_creator="1"
    app:layout_constraintTop_toBottomOf="@+id/textView6"
    tools:layout_constraintLeft_creator="1"
    app:layout_constraintLeft_toLeftOf="@+id/constraintLayout" /&gt;

&lt;TextView
    android:text="@string/singapore_description"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:id="@+id/textView7"
    tools:layout_constraintRight_creator="1"
    tools:layout_constraintBottom_creator="1"
    android:layout_marginStart="10dp"
    app:layout_constraintBottom_toBottomOf="@+id/constraintLayout"
    android:layout_marginEnd="10dp"
    app:layout_constraintRight_toRightOf="@+id/constraintLayout"
    tools:layout_constraintLeft_creator="1"
    app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
    app:layout_constraintTop_toBottomOf="@+id/imageView6"
    android:fontFamily="monospace" /&gt;
</code></pre>

<p></p>

<p>Any idea why the inspector margin top value is not being reflected in XML ?</p>