title: ListView pushes button out of screen
body: <p>I'm trying to get the ListView to remain the same size even if it overflows. However, once the ListView overflows, it pushes the buttons below off the screen. How do I prevent it from pushing other elements that are below it?</p>
  
  <p><img src="https://i.stack.imgur.com/T32db.jpg" alt=""> <img src="https://i.stack.imgur.com/T7LRt.jpg" alt=""></p>
  
  <p>As you can see from the above images, the second shows that the buttons get pushed off the screen once the ListView overflows.</p>
  
  <p><strong>XML</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:background="@color/splash_bg"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" &gt;
  
  &lt;LinearLayout 
      android:background="@color/splash_bg"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:padding="10dp"
      android:orientation="vertical" &gt;
  
      &lt;TextView
          android:id="@+id/subtitle"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:textSize="20sp"
          android:paddingBottom="10dp"
          android:textColor="@color/splash_text"
          android:text="@string/sub" /&gt;
  
      &lt;EditText 
          android:id="@+id/grp_name"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/field1"
          android:lines="1" /&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:orientation="vertical" &gt;
  
          &lt;TextView
              android:id="@+id/members"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:textSize="15sp"
              android:paddingTop="5dp"
              android:textColor="@color/splash_text"
              android:text="@string/members" /&gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:background="@color/splash_bg"
              android:orientation="horizontal" &gt;
  
              &lt;EditText
                  android:id="@+id/name"
                  android:layout_width="0dip"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:hint="@string/field2" /&gt;
  
              &lt;Button
                  android:id="@+id/add"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/add" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;ListView
              android:id="@android:id/list"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:paddingLeft="5dp"
              android:background="@color/splash_bg" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:gravity="bottom"
       android:paddingLeft="5dp"
       android:paddingRight="5dp"
       android:paddingBottom="5dp"
       android:paddingTop="10dp" &gt;
  
      &lt;Button 
          android:id="@+id/save_btn"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="5"
          android:text="Save" /&gt;
  
       &lt;Button 
          android:id="@+id/cancel_btn"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="Cancel" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>