title: how to show Relative layout in bottom?
body: <p>I created one linear layout and I have added two relative layout. I wish to show one layout in top another layout in bottom. My problem is both layout display in top. how to change 1layout top another one is bottom please help me.</p>
  
  <p>xml code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:background="@drawable/blue"
      android:orientation="horizontal" &gt;
  
      &lt;RelativeLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="fill_parent"
          android:layout_height="55px"
          android:background="@drawable/testheader"
          android:orientation="horizontal" &gt;
  
          &lt;TextView
              android:id="@+id/header_text"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_centerVertical="true"
              android:text="settings"
              android:textColor="@color/white"
              android:textSize="20sp" /&gt;
  
          &lt;Button
              android:id="@+id/btnReturn"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_alignParentLeft="true"
              android:text="image" /&gt;
  
      &lt;/RelativeLayout&gt;
  
      &lt;RelativeLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="wrap_content"
          android:layout_height="55px"
          android:background="@drawable/testheader"
          android:orientation="horizontal"
          android:layout_alignParentBottom="true" 
          android:layout_gravity="bottom"
          &gt;
  
          &lt;Button
              android:id="@+id/btnReturn"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_alignParentLeft="true"
              android:text="Return" /&gt;
      &lt;/RelativeLayout&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>