title: ScrollView only on part of the screen in Android
body: <p>I have a screen with two parts. I want the top one to be static and the lower one with a TableLayout to be scrollable. I have tried adding a ScrollView to the lower part of the screen, but when making the TableLayout scrollable the top part disappears. </p>
  
  <p>How can I combine the top static part with a scrollable lower part? </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:id="@+id/LinearLayout01"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal"
      android:layout_weight="9" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@drawable/title_shape"&gt;  
      &lt;Button 
          android:id="@+id/btnBack" 
          android:text="@string/titleCreateTest"
          style="@style/Bar_buttonBack"&gt;
      &lt;/Button&gt;
      &lt;TextView android:layout_weight="6" 
          android:id="@+id/titleFlashcard" 
          android:text="@string/titleStatistic" 
          style="@style/TitleStyle"&gt;
      &lt;/TextView&gt; 
  &lt;/LinearLayout&gt;
   &lt;ScrollView
    android:id="@+id/ScrollView1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:id="@+id/LinearLayout2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  &lt;TableLayout 
      android:id="@+id/table_layout"
      style="@style/TableLayoutStyle"&gt;
   &lt;TableRow 
       android:id="@+id/table_row1"&gt;
      &lt;TextView
              android:id="@+id/tv1"
              android:text="@string/tvRecord" 
              style="@style/TableRowStyle"/&gt;
      &lt;TextView
              android:id="@+id/tv1v"
              style="@style/TableRowStyleColumn2"/&gt;
    &lt;/TableRow&gt;
    &lt;View
      style="@style/TableRowSeparator"/&gt;
       &lt;TableRow
       android:id="@+id/table_row2"&gt;
          &lt;TextView
              android:id="@+id/tv2"
              android:text="@string/tvMedium" 
              style="@style/TableRowStyle"/&gt;
          &lt;TextView
              android:id="@+id/tv2v"
              style="@style/TableRowStyleColumn2"/&gt;
      &lt;/TableRow&gt;
        &lt;View
      style="@style/TableRowSeparator"/&gt;
      &lt;TableRow
      android:id="@+id/table_row3"&gt;
          &lt;TextView
              android:id="@+id/tv3"
              android:text="@string/tvWorst" 
              style="@style/TableRowStyle"/&gt;
          &lt;TextView
              android:id="@+id/tv3v"
              style="@style/TableRowStyleColumn2"/&gt;
      &lt;/TableRow&gt;
      &lt;/TableLayout&gt; 
     &lt;TableLayout 
      android:id="@+id/table_layout2"
      style="@style/TableLayoutStyle"&gt;
          &lt;TableRow
            android:id="@+id/table_row4"&gt;
            &lt;TextView
              android:id="@+id/tvDate"
              style="@style/TableRowStyle"/&gt;
              &lt;TextView
              android:id="@+id/tvResult"
              style="@style/TableRowStyleColumn2"/&gt;
       &lt;/TableRow&gt;
      &lt;View
      android:id="@+id/rowseparator"
      style="@style/TableRowSeparator"/&gt;
  &lt;/TableLayout&gt;
  &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>