title: Why does ImageView get smaller by increasing margin top size?
body: <p>I have got a relative Layout in which I want to display one <code>Imageview</code> and one <code>TextView</code> with <code>background-image</code>.</p>
  
  <p>If I didn't use any <code>margin-top</code> it works how I should, but if I increase the top margin of the ImageView the Image gets smaller.</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"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"&gt;
  
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;TextView
          android:id="@+id/playerNameEnd"
          android:layout_width="200dp"
          android:layout_height="80dp"
          android:background="@drawable/casino2"
          android:gravity="center"
          android:text="Player"
          android:textColor="@color/cream"
          android:textSize="26sp" /&gt;
  
      &lt;ImageView
          android:id="@+id/roulette_EndPic"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="40dp"
          app:srcCompat="@drawable/casino" /&gt;
  &lt;/RelativeLayout&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>