title: Button in relative layout not affected by setting layout margins
body: <p>A custom <code>Dialog</code> box with a <code>RelativeLayout</code> contains a <code>Button</code> widget that won't change its margins, regardless of direction. Here's the 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:layout_width="match_parent" android:layout_height="match_parent"
      android:orientation="horizontal" android:background="#99000000"&gt;
      &lt;TextView android:id="@+id/dialogtitle" android:layout_width="fill_parent"
           android:layout_height="wrap_content" android:text="Some text" /&gt;
      &lt;TextView android:id="@+id/dialogtext" android:layout_width="300dp"
          android:layout_height="wrap_content" android:textSize="15dp"
          android:layout_alignParentLeft="true" android:layout_below="@id/dialogtitle"
          android:paddingLeft="8dp" /&gt;
      &lt;Button android:id="@+id/dialogbuttoninfo" android:layout_width="80dp"
          android:layout_height="wrap_content" android:text="Doesn't care about margins"
          android:layout_alignParentRight="true" android:layout_marginLeft="128dp" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Padding works but only moves the text inside the button. Any suggestions?</p>