title: alignParentBottom not used
body: <p>I had a layout which used <code>LinearLayouts</code> instead of <code>RelativeLayouts</code>.  I want to add the borderless buttons to my layouts as shown here: <a href="https://stackoverflow.com/q/8855791/2442638">How to create standard Borderless buttons (like in the design guidline mentioned)?</a></p>
  
  <p>So, to use this, I had to change my <code>LinearLayouts</code> to <code>RelativeLayouts</code>. This has worked fine for the most part.  However, when I try to use the alignParentBottom for one of the RelativeLayouts it doesn't work - it just overlaps with one of my other buttons.</p>
  
  <p><img src="https://i.stack.imgur.com/Qj3uN.jpg" alt="enter image description here"></p>
  
  <p>This is my xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/scrollView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:paddingBottom="@dimen/activity_vertical_margin"
          android:paddingLeft="@dimen/activity_horizontal_margin"
          android:paddingRight="@dimen/activity_horizontal_margin"
          android:paddingTop="@dimen/activity_vertical_margin"
          tools:context=".xxx" &gt;
  
          &lt;com.xxx.xxx.customedittext
              android:id="@+id/qn_et_title"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_alignParentTop="true"
              android:drawableRight="@drawable/delete"
              android:hint="@string/qn_et_title_hint"
              android:inputType="textCapSentences|textMultiLine"
              android:paddingTop="5dp" /&gt;
  
          &lt;com.xxx.xxx.customedittext
              android:id="@+id/qn_et_body"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_below="@+id/qn_et_title"
              android:drawableRight="@drawable/delete"
              android:hint="@string/qn_et_body_hint"
              android:inputType="textCapSentences|textMultiLine" /&gt;
  
          &lt;CheckBox
              android:id="@+id/qn_cb_ongoing"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/qn_et_body"
              android:text="@string/qn_cb_ongoing" /&gt;
  
          &lt;Button
              android:id="@+id/qn_b_create"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/qn_cb_ongoing"
              android:text="@string/qn_b_create" /&gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="48dp"
              android:layout_alignParentBottom="true" &gt;
  
              &lt;View
                  android:layout_width="match_parent"
                  android:layout_height="1dip"
                  android:layout_alignParentTop="true"
                  android:layout_marginLeft="4dip"
                  android:layout_marginRight="4dip"
                  android:background="?android:attr/dividerVertical" /&gt;
  
              &lt;View
                  android:id="@+id/ViewColorPickerHelper"
                  android:layout_width="1dip"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:layout_alignParentTop="true"
                  android:layout_centerHorizontal="true"
                  android:layout_marginBottom="4dip"
                  android:layout_marginTop="4dip"
                  android:background="?android:attr/dividerVertical" /&gt;
  
              &lt;Button
                  android:id="@+id/BtnColorPickerCancel"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:layout_alignParentLeft="true"
                  android:layout_alignParentTop="true"
                  android:layout_toLeftOf="@id/ViewColorPickerHelper"
                  android:background="?android:attr/selectableItemBackground"
                  android:text="@android:string/cancel" /&gt;
  
              &lt;Button
                  android:id="@+id/BtnColorPickerOk"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:layout_alignParentBottom="true"
                  android:layout_alignParentRight="true"
                  android:layout_alignParentTop="true"
                  android:layout_toRightOf="@id/ViewColorPickerHelper"
                  android:background="?android:attr/selectableItemBackground"
                  android:text="@android:string/ok" /&gt;
          &lt;/RelativeLayout&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>EDIT: This is updated code. The <code>ScrollView</code> overlaps the 48dp <code>RelativeView</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:paddingBottom="3dp"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context=".QuickNoteFragment" &gt;
  
      &lt;ScrollView
          android:id="@+id/scrollView1"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:fillViewport="false" &gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content" &gt;
  
              &lt;EditText
                  android:id="@+id/qn_et_title"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:hint="@string/qn_et_title_hint"
                  android:inputType="textCapSentences|textMultiLine"
                  android:paddingTop="5dp" /&gt;
  
              &lt;EditText
                  android:id="@+id/qn_et_body"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:layout_below="@+id/qn_et_title"
                  android:hint="@string/qn_et_body_hint"
                  android:inputType="textCapSentences|textMultiLine"
                  android:paddingTop="10dp" /&gt;
  
              &lt;CheckBox
                  android:id="@+id/qn_cb_ongoing"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_below="@id/qn_et_body"
                  android:paddingBottom="10dp"
                  android:paddingTop="10dp"
                  android:text="@string/qn_cb_ongoing" /&gt;
          &lt;/RelativeLayout&gt;
      &lt;/ScrollView&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="48dp"
          android:layout_alignParentBottom="true" &gt;
  
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="1dip"
              android:layout_alignParentTop="true"
              android:layout_marginLeft="4dip"
              android:layout_marginRight="4dip"
              android:background="?android:attr/dividerVertical" /&gt;
  
          &lt;View
              android:id="@+id/ViewColorPickerHelper"
              android:layout_width="1dip"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_alignParentTop="true"
              android:layout_centerHorizontal="true"
              android:layout_marginBottom="4dip"
              android:layout_marginTop="4dip"
              android:background="?android:attr/dividerVertical" /&gt;
  
          &lt;Button
              android:id="@+id/qn_b_cancel"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_alignParentLeft="true"
              android:layout_alignParentTop="true"
              android:layout_toLeftOf="@id/ViewColorPickerHelper"
              android:background="?android:attr/selectableItemBackground"
              android:text="@android:string/cancel" /&gt;
  
          &lt;Button
              android:id="@+id/qn_b_create"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_alignParentBottom="true"
              android:layout_alignParentRight="true"
              android:layout_alignParentTop="true"
              android:layout_toRightOf="@id/ViewColorPickerHelper"
              android:background="?android:attr/selectableItemBackground"
              android:text="@string/qn_b_create" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>