title: Why do these ImageButtons changing position using relative layout?
body: <p>Learning some Android development through trial and error, however I'm having a slight issue with the rendering of buttons on top of an image view depending on the resolution of the phone.</p>
  
  <p>I have an imageview with two imagebuttons (at the moment) on top.  They are relative to the imageview.  I will post the xml markup below.  The issue is when I run this on the "Nexus 4" in Android studio, everything looks correct.  When I debug through my Samsung Galaxy S4, the imagebuttons are off slightly, and I'm not sure why this would be a problem if everything is truly relative to the imageview. I understand that the resolutions are different, but how would one go about making sure that this renders the same on the smallest of screens, as well as the newer 1080p screens that are becoming more popular?</p>
  
  <p>I can post pictures if need be, but I feel that the xml will provide adequate information on the issue.</p>
  
  <p>Any help is appreciated. Thanks in advance!</p>
  
  <pre><code>&lt;ImageView
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:id="@+id/SRMap"
          android:layout_alignParentTop="false"
          android:layout_alignParentLeft="false"
          android:background="@drawable/sr_map"
          android:layout_columnSpan="2"
          android:layout_rowSpan="1"
          android:layout_column="0"
          android:layout_row="0"
          android:contentDescription="Map of Summoners Rift"
          android:cropToPadding="false"
          android:layout_marginBottom="177dp"/&gt;
  
  &lt;ImageButton
          android:layout_width="15dp"
          android:layout_height="15dp"
          android:id="@+id/BlueSideAlert_BlueBuff"
          android:background="@drawable/blue_alert_circle"
          android:layout_alignTop="@+id/SRMap"
          android:layout_alignLeft="@+id/SRMap"
          android:layout_marginLeft="90dp"
          android:layout_marginTop="128dp"/&gt;
  
  &lt;ImageButton
          android:layout_width="15dp"
          android:layout_height="15dp"
          android:id="@+id/BlueSideAlert_RedBuff"
          android:background="@drawable/blue_alert_circle"
          android:layout_alignTop="@+id/SRMap"
          android:layout_alignLeft="@+id/SRMap"
          android:layout_marginLeft="180dp"
          android:layout_marginTop="215dp"/&gt;
  </code></pre>