title: Scroll View in Relative Layout
body: <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#1E1E1E"
      android:orientation="vertical" &gt;
  
      &lt;TableLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent" &gt;
  
          &lt;TableRow
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="0.5"
              android:weightSum="1" &gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="1" &gt;
  
                  &lt;Button
                      android:id="@+id/button7"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:text="Button 3"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="0.5"
              android:weightSum="1" &gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button1"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:singleLine="false"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button2"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:singleLine="false"
                      android:text="Botton 2"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="0.5"
              android:weightSum="1" &gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button3"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:text="Button 3"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button4"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:text="Button 4"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="0.5"
              android:weightSum="1" &gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button5"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="@drawable/ld"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:text="Button 5"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
  
              &lt;RelativeLayout
                  android:layout_width="0dp"
                  android:layout_height="match_parent"
                  android:layout_weight="0.5" &gt;
  
                  &lt;Button
                      android:id="@+id/button6"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:background="#000"
                      android:gravity="center|bottom"
                      android:paddingBottom="10dp"
                      android:text="Button 6"
                      android:textSize="18sp" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_centerInParent="true" /&gt;
              &lt;/RelativeLayout&gt;
          &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="45dp"
          android:layout_alignParentBottom="true"
          android:background="#fff"
          android:weightSum="6" &gt;
  
          &lt;Button
              android:id="@+id/b1"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_below="@id/b1"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/home1"
              android:text="Home"
              android:textSize="8dp" /&gt;
  
          &lt;Button
              android:id="@+id/b2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/b2"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/abt"
              android:text="About"
              android:textSize="8dp" /&gt;
  
          &lt;Button
              android:id="@+id/b3"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/b3"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/ser"
              android:text="Services"
              android:textSize="8dp" /&gt;
  
          &lt;Button
              android:id="@+id/b4"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/b4"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/cnt1"
              android:text="Portfolio"
              android:textSize="8dp" /&gt;
  
          &lt;Button
              android:id="@+id/b5"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/b5"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/spt"
              android:text="Support"
              android:textSize="8dp" /&gt;
  
          &lt;Button
              android:id="@+id/b6"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/b6"
              android:layout_weight="1"
              android:background="#fff"
              android:drawableTop="@drawable/inbox"
              android:text="Marketing"
              android:textSize="8dp" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I Need to have scroll view in the relative layout with fixed footer. the table layout alone should have scroll view and footer should be fixed</p>