title: Footer view as RelativeLaout
body: <p>I have a RelativeLayout which <code>includes</code> following RelativeLayout:</p>
  
  <pre><code>&lt;RelativeLayout
          android:id="@+id/buttons_bar"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:paddingTop="10dip" &gt;
  
          &lt;Button
              android:id="@+id/day_button"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="day"
              android:layout_alignParentLeft="true"
              android:textSize="14sp"/&gt;
  
  
          &lt;Button
              android:id="@+id/month_button1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="month"
              android:layout_alignParentRight="true"
              android:textSize="14sp"/&gt;
  
          &lt;EditText
              android:id="@+id/week_button"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_toRightOf="@id/day_button"
              android:layout_toLeftOf="@id/month_button1"
              android:maxLines="5"
              android:minLines="1"
              android:textSize="16sp"
              android:layout_marginBottom="15dp"/&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>This layout will be shown as a footer for the page.
  As you see the <code>maxLines</code> for EditText is 5. When the line size is more than 2 in EditText, buttons around it start to move a bit up.
  I want buttons stick to the end of page and do not move. Any solution?</p>
  
  <p>I tried adding <code>android:layout_alignParentBottom="true"</code> for buttons but it did not work. </p>