title: scrollable content within tab content view
body: <p>I am trying to create an interface that is a tabbed view. my form is in one tab and the results will be in another tab.  I am having difficulty in getting the form to scroll down so that I can access the data off screen.  Tab1 below is the content I want to be scrollable.  Am I using the wrong type of container to hold my form and that is why I cannot scroll it down as I enter data into my form fields?  Can you offer any suggestions as to what I am missing or doing wrong please?</p>
  
  <p>my main tab gui xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@android:id/tabhost"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" android:isScrollContainer="true"&gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:padding="5dp"&gt;
          &lt;TabWidget
              android:id="@android:id/tabs"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" /&gt;
          &lt;FrameLayout
              android:id="@android:id/tabcontent"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"&gt;
  
              &lt;include layout="@layout/tab1"/&gt;
              &lt;include layout="@layout/tab2"/&gt;
  
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/TabHost&gt;
  </code></pre>
  
  <p>Tab1 -- this is where I want the content to be scrollable:</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="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" android:id="@layout/tab1" android:scrollbarAlwaysDrawVerticalTrack="true" android:scrollbarDefaultDelayBeforeFade="3" android:scrollbarFadeDuration="2" android:scrollbars="vertical" android:isScrollContainer="true"&gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_fn" /&gt;
  
      &lt;EditText
          android:id="@+id/editText1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" android:inputType="text"/&gt;
  
      &lt;TextView
          android:id="@+id/textView2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_ln" /&gt;
  
      &lt;EditText
          android:id="@+id/editText2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" android:inputType="text"&gt;
  
          &lt;requestFocus /&gt;
      &lt;/EditText&gt;
  
      &lt;TextView
          android:id="@+id/textView3"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_ssn" /&gt;
  
      &lt;EditText
          android:id="@+id/editText3"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:inputType="number" android:maxLength="9999"/&gt;
  
      &lt;TextView
          android:id="@+id/textView4"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_phone" /&gt;
  
      &lt;EditText
          android:id="@+id/editText4"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:inputType="phone" /&gt;
  
      &lt;TextView
          android:id="@+id/textView5"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_class" /&gt;
  
      &lt;RadioGroup
          android:id="@+id/radioGroup1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" android:orientation="horizontal"&gt;
  
          &lt;RadioButton
              android:id="@+id/radio0"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:checked="true"
              android:text="@string/search_class_all"/&gt;
  
          &lt;RadioButton
              android:id="@+id/radio1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/search_class_comm"/&gt;
  
          &lt;RadioButton
              android:id="@+id/radio2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/search_class_med"/&gt;
  
      &lt;/RadioGroup&gt;
  
      &lt;TextView
          android:id="@+id/textView6"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/search_status" /&gt;
  
      &lt;RadioGroup
          android:id="@+id/radioGroup2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" android:orientation="horizontal"&gt;
  
          &lt;RadioButton
              android:id="@+id/radio3"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:checked="true"
              android:text="@string/search_status_all" /&gt;
  
          &lt;RadioButton
              android:id="@+id/radio4"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/search_status_avail" /&gt;
  
          &lt;RadioButton
              android:id="@+id/radio5"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/search_status_emp" /&gt;
      &lt;/RadioGroup&gt;
  
      &lt;TextView
          android:id="@+id/textView7"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/view1" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>tab2 -- once the search is complete the results will be displayed here.:</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="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" android:id="@layout/tab2"&gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/view2" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>