title: how to make scrollable ListView but not to fill whole screen?
body: <p>I want to make screen with TextView on top (title)
  a ListView in the middle
  and buttons on the bottom.
  How to place ListView that will fill entire space between top TextView and bottom Buttons and be able to scroll its content ?</p>
  
  <p>Now, when my list grows, it pushes bottom button outside the screen.</p>
  
  <p>I have:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"&gt;
  
      &lt;Button android:id="@+id/button1"
          android:layout_height="wrap_content"
          android:text="Button"
          android:layout_width="wrap_content"
      /&gt;
      &lt;TextView android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="@string/hello"
          android:layout_alignParentBottom="true"
      /&gt;
      &lt;ListView android:id="@+id/lvLocations"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
      /&gt;
      &lt;TextView android:layout_height="0dip"
          android:layout_width="fill_parent"
          android:layout_weight="1" 
      /&gt;
      &lt;Button android:text="LayerDrawable"
          android:id="@+id/button5"
          android:textSize="15dp"
          android:layout_width="wrap_content"
          android:layout_height="40dp"
          android:background="@drawable/layer_drawable"
      /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The last <code>TextView</code> is used to make a gap and move <code>Button</code> to a bottom.</p>