title: android RelativeLayout on 4.1.1
body: <p>I created simple UI and it works fine in Intellij Idea. 
  But when I run it on HTC ONE X PLUS(android version 4.1.1) close button is showing wrong </p>
  
  <p>here is image_elem.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;
  
  &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/example"
          android:id="@+id/imageView"
          android:layout_gravity="center_horizontal"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"/&gt;
  
  &lt;ImageButton
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/close"
          android:id="@+id/closeImage"
          android:layout_alignParentTop="true"
          android:layout_alignEnd="@+id/imageView"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and my code</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.image_elem);
  }
  </code></pre>
  
  <p>it shows in idea
  <img src="https://i.stack.imgur.com/CASGp.jpg" alt="enter image description here"></p>
  
  <p>and it shows on the device</p>
  
  <p><img src="https://i.stack.imgur.com/RotgG.jpg" alt="(http://joxi.ru/f6E7VIwyTJCTeU5Xj-o)"></p>