title: How to implement a scroll view on only part of my layout
body: <p>I want to create a layout that has 6 TextViews on the very top, 4 Buttons on the very bottom, and then have the entire center space be a scroll view with 22 Checkboxes ( 1 per line ). Basically I want a title bar on top, 2 buttons to navigate on the bottom, and a list I can scroll through in the middle. </p>
  
  <p>I also would like the checkboxes to remain uncheckable, which I'm sure is a simple function call.</p>
  
  <p>The view comes up with no upper title with text, and no lower bar with the buttons. Does anyone know what to do? The scrollview is the only thing appearing....</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  android:weightSum="1.0" &gt;
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1" &gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal"
                  android:text="SN : " /&gt;
  
              &lt;TextView
                  android:id="@+id/serialNumberView"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal" /&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal"
                  android:text="Ver : " /&gt;
  
              &lt;TextView
                  android:id="@+id/versionView"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal" /&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal"
                  android:text="Type : " /&gt;
  
              &lt;TextView
                  android:id="@+id/typeView"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_horizontal" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;ScrollView
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_weight="1" &gt;
  
              &lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content" 
                  android:orientation="vertical"
                  android:layout_weight="1"&gt;
  
  
                      &lt;CheckBox
                          android:id="@+id/floatCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Float" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/tripCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Trip" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/closeCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Close" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/blockedCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Blocked" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/hardTripCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Hard Trip" /&gt;
  
                      &lt;CheckBox 
                          android:id="@+id/phaseAngleCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Phase angle wrong for closing" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/diffVoltsCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Differential volts too low" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/networkVoltsCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Netwrok volts too low to close" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/usingDefaultsCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Using Defaults( Reprogram )" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/relaxedCloseActiveCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Relaxed Close Active" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/commBoardDetectedCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Comm Board Detected" /&gt;
  
                      &lt;CheckBox 
                          android:id="@+id/antiPumpBlock"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Anti-Pump Block" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/motorCutoffCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Motor Cutoff Inhibit" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/phaseRotationCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Phase Rotation Wrong" /&gt;
  
                      &lt;CheckBox
                          android:id="@+id/usingDefaultDNPCheck"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text= "Using Default DNP Profile" /&gt;
              &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:layout_weight="1" &gt;
  
          &lt;Button
              android:id="@+id/button3"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="Back" /&gt;
  
          &lt;Button
              android:id="@+id/button3"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="Read" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>