title: android listview display all available items without scroll with static header
body: <p>I'm having a little difficulties while trying to get a certain layout to work: I want to have list. List does not have to be scrollable, but should be shown completely. But the page itself should be able to scroll (with the lists in it), if the total content ist higher than the screen. </p>
  
  <pre><code>&lt;ScrollView
       xmlns:android="http://schemas.android.com/apk/res/android"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       &gt;
  
       &lt;LinearLayout
           xmlns:android="http://schemas.android.com/apk/res/android"
           android:id="@+id/linear_layout"
           android:orientation="vertical"
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:layout_weight="1"
           android:background="#ff181818"
           &gt;
             &lt;Textview android:id="@+id/my_text" text="header contents goes here" android:layout_width="fill_parent" android:layout_height="wrap_content"/&gt;
             &lt;Textview android:id="@+id/headertext" text="header contents goes here" android:layout_width="fill_parent" android:layout_height="wrap_content"/&gt;
  
            &lt;ListView
                 android:id="@+id/my_list1"
                 android:layout_height="wrap_content"
                 android:layout_width="fill_parent"
            /&gt; 
       &lt;/LinearLayout&gt; 
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>it only uses a small part of the screen (about 2 lines per list), instead of filling the available height, and the lists themselves can be scrolled. How can I change the layout to always show the whole lists but have the screen be scrollalbe? </p>