title: RelativeLayout gravity bottom?
body: <p>I'm trying use <code>gravity</code> to bottom with a RelativeLayout. When I use <code>android:gravity="bottom"</code> does not align on bottom. </p>
  
  <p>How could I do this ?</p>
  
  <pre><code>&lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@drawable/fundo"
      &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:layout_margin="10dp"&gt;
          &lt;ImageView
              android:layout_margin="10dp"
              android:padding="10dp"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:src="@drawable/logo"/&gt;
      &lt;/LinearLayout&gt;
  
  
      &lt;!-- Control --&gt;
      &lt;RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="80dp"
          android:orientation="vertical"
          android:gravity="bottom"&gt;
  
          &lt;ImageView
              android:layout_width="fill_parent"
              android:layout_height="50dp"
              android:background="@drawable/bar_bot_player"/&gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="50dp"
              android:layout_marginTop="-20dp"
              android:orientation="horizontal"
              android:gravity="center"
              android:weightSum="1"&gt;
              &lt;ImageButton
                  android:id="@+id/btPlay"
                  android:layout_width="50dp"
                  android:background="@drawable/btnplay"
                  android:gravity="center"
                  android:layout_height="wrap_content" /&gt;
  
              &lt;ImageButton
                  android:id="@+id/btStop"
                  android:visibility="gone"
                  android:layout_width="50dp"
                  android:background="@drawable/stop"
                  android:gravity="center"
                  android:layout_height="wrap_content" /&gt;
          &lt;/LinearLayout&gt;
  
      &lt;/RelativeLayout&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>