title: Android studio keeps replacing match_parent with fixed dp value
body: <p>Android studio (v 2.3.1) keeps replacing the <code>match_parent</code> of a RelativeLayout with a fixed dp vanue. For example, when I type match_parent as the width, it replaces it with 368dp. When I test the app, I see that the RelativeLayout indeed is wrong.</p>
  
  <p>Does anyone know how to fix this?</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:context="be.mawey.lamachat.LoginActivity"&gt;
  
  
      &lt;RelativeLayout
          android:layout_width="match_parent" &lt;!-- THIS IS BEING REPLACED WITH 368dp --&gt;
          android:layout_height="match_parent" &lt;!-- THIS IS BEING REPLACED WITH 495dp --&gt;
          tools:layout_editor_absoluteX="8dp"
          tools:layout_editor_absoluteY="8dp"&gt;
  
          &lt;Button
              android:id="@+id/buttonLogin"
              android:layout_width="match_parent"
              android:layout_height="50dp"
              android:layout_alignParentStart="true"
              android:layout_centerVertical="true"
              android:background="@color/colorPrimary"
              android:text="Login"
              android:textColor="@android:color/white"
              android:textSize="18sp"
              tools:layout_editor_absoluteX="8dp"
              tools:layout_editor_absoluteY="292dp" /&gt;
  
          &lt;EditText
              android:id="@+id/editTextCode"
              android:layout_width="match_parent"
              android:layout_height="50dp"
              android:layout_above="@+id/buttonLogin"
              android:layout_alignParentStart="true"
              android:ems="10"
              android:hint="Secret code here"
              android:inputType="numberPassword"
              tools:layout_editor_absoluteX="8dp"
              tools:layout_editor_absoluteY="234dp" /&gt;
  
          &lt;TextView
              android:id="@+id/textView3"
              android:layout_width="match_parent"
              android:layout_height="50dp"
              android:fontFamily="monospace"
              android:text="example"
              android:textAlignment="center"
              android:textColor="@color/colorPrimaryDark"
              android:textSize="36sp"
              android:textStyle="italic"
              tools:layout_editor_absoluteX="8dp"
              tools:layout_editor_absoluteY="16dp" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>