title: Android Layout align bottom
body: <p>I have following layout in my application:</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;ScrollView  
       xmlns:android="http://schemas.android.com/apk/res/android"
       android:id="@+id/ScrollView01"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:scrollbars="vertical"
       android:background="@drawable/bbg"&gt;
       &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_weight="1"&gt;
          &lt;TextView
             android:id="@+id/Title"
             android:text="@string/order_status"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:gravity="center_horizontal"
             android:textSize="26sp"
             android:textColor="#000000"
             android:shadowColor="#FFFFFF"
             android:shadowDx="0.5"
             android:shadowDy="0.5"
             android:shadowRadius="1.0"/&gt;
             &lt;LinearLayout
                android:orientation="vertical"
                android:id="@+id/MainStatusWindow"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_margin="10sp"
                android:background="@drawable/rounded_corners"&gt;
                &lt;TextView
                   android:id="@+id/RateInfo"
                   android:text=""
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:textSize="16sp"
                   android:layout_margin="10sp"
                   android:textColor="#5C5C5C"/&gt;
                &lt;ImageView
                   android:src="@drawable/line"
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:scaleType="fitXY"/&gt;
                &lt;TextView
                   android:id="@+id/OrderStatus"
                   android:text="@string/please_wait"
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:gravity="center_horizontal"
                   android:textSize="20sp"
                   android:layout_margin="10sp"
                   android:textColor="#222222"/&gt;
                &lt;ImageView
                   android:src="@drawable/line"
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:scaleType="fitXY"/&gt;
                &lt;TextView
                   android:id="@+id/TimerStatus"
                   android:text="0:00"
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:gravity="center_horizontal"
                   android:textSize="50sp"
                   android:layout_margin="10sp"
                   android:textColor="#222222"/&gt;
             &lt;/LinearLayout&gt;
             &lt;Button android:id="@+id/Cancel"
                android:layout_marginTop="10sp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/cancel_order"
                android:textSize="18sp"
                android:textColor="#111111"
                android:layout_alignParentBottom="true"
                android:background="@drawable/button_red"/&gt;
       &lt;/LinearLayout&gt;
    &lt;/ScrollView&gt;
  </code></pre>
  
  <p>I need to last button to be on the bottom of page. 
  Picture bellow shows what I need (On the left what I have, on the right what I need). </p>
  
  <p><img src="https://i.stack.imgur.com/zRQR9.jpg" alt="Explanation"></p>
  
  <p>Thank you.</p>