title: Can not get ScrollView to scroll when soft keyboard is shown
body: <p>I have been trying to get this scrollview to scroll, and have not had any luck in doing so.
  I have tried many types of fixes but cant seem to get one working. I would like to be able to scroll through my page when an edit box is selected and the keyboard takes up half the screen. This way i can navigate to the rest of the edit boxes and the accept button on the bottom of the page, with out having to manually hide the keyboard every time. </p>
  
  <p>Here is my xml code: </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:background="@drawable/asuswallpaper4"
         android:orientation="vertical"
         android:weightSum="1"
        &gt;
  
  
  
          &lt;TextView
            android:id="@+id/textView1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="#AAA"
            android:text="Input Configuration"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:textColor="#000" &gt;
           &lt;/TextView&gt;
  
               &lt;ScrollView
                 android:id="@+id/input_scroll_view"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content" &gt;
  
                 &lt;LinearLayout
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical" &gt;
  
  
  
                        &lt;LinearLayout
                         android:id="@+id/linearLayout10"
                         android:layout_width="match_parent"
                         android:layout_height="wrap_content"
                         android:layout_marginTop="20dp"
                         android:orientation="horizontal" &gt;
  
                        &lt;TextView
                         android:id="@+id/textView13"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:text="TextView"
                         android:textAppearance="?android:attr/textAppearanceMedium"
                         android:textColor="#000"
                         android:textStyle="bold" &gt;
                        &lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/textView11"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Enable or Disable"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF" &gt;
              &lt;/TextView&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/linearLayout11"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="20dp" &gt;
  
              &lt;RadioGroup
                  android:id="@+id/DisableEnable"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:addStatesFromChildren="true"
                  android:orientation="horizontal" &gt;
  
                  &lt;RadioButton
                      android:id="@+id/disableButton"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:checked="true"
                      android:text="Disable"
                      android:textColor="#FFF" &gt;
                  &lt;/RadioButton&gt;
  
                  &lt;RadioButton
                      android:id="@+id/enableButton"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="100dp"
                      android:text="Enable"
                      android:textColor="#FFF" &gt;
                  &lt;/RadioButton&gt;
              &lt;/RadioGroup&gt;
          &lt;/LinearLayout&gt;
  
          &lt;!-- &lt;LinearLayout --&gt;
          &lt;!-- android:id="@+id/linearLayout3" --&gt;
          &lt;!-- android:layout_width="match_parent" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:layout_marginTop="20dp" --&gt;
          &lt;!-- android:orientation="horizontal" &gt; --&gt;
  
  
          &lt;!-- &lt;TextView --&gt;
          &lt;!-- android:id="@+id/textView14" --&gt;
          &lt;!-- android:layout_width="wrap_content" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:text="TextView" --&gt;
          &lt;!-- android:textAppearance="?android:attr/textAppearanceMedium" --&gt;
          &lt;!-- android:textColor="#000" --&gt;
          &lt;!-- android:textStyle="bold" --&gt;
          &lt;!-- android:visibility="invisible" &gt; --&gt;
          &lt;!-- &lt;/TextView&gt; --&gt;
  
  
          &lt;!-- &lt;TextView --&gt;
          &lt;!-- android:id="@+id/textView3" --&gt;
          &lt;!-- android:layout_width="wrap_content" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:text="Positive/Negative Trigger" --&gt;
          &lt;!-- android:textAppearance="?android:attr/textAppearanceMedium" --&gt;
          &lt;!-- android:textColor="#FFF" --&gt;
          &lt;!-- android:visibility="invisible" &gt; --&gt;
          &lt;!-- &lt;/TextView&gt; --&gt;
          &lt;!-- &lt;/LinearLayout&gt; --&gt;
  
  
          &lt;!-- &lt;LinearLayout --&gt;
          &lt;!-- android:id="@+id/linearLayout4" --&gt;
          &lt;!-- android:layout_width="match_parent" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:orientation="vertical" &gt; --&gt;
  
  
          &lt;!-- &lt;RadioGroup --&gt;
          &lt;!-- android:id="@+id/PosNeg" --&gt;
          &lt;!-- android:layout_width="wrap_content" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:orientation="horizontal" --&gt;
          &lt;!-- android:visibility="invisible" android:clickable="false"&gt; --&gt;
  
  
          &lt;!-- &lt;RadioButton --&gt;
          &lt;!-- android:id="@+id/positive_trigger" --&gt;
          &lt;!-- android:layout_width="wrap_content" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:checked="true" --&gt;
          &lt;!-- android:text="Positive" --&gt;
          &lt;!-- android:textColor="#FFF" android:clickable="false"&gt; --&gt;
          &lt;!-- &lt;/RadioButton&gt; --&gt;
  
  
          &lt;!-- &lt;RadioButton --&gt;
          &lt;!-- android:id="@+id/negative_trigger" --&gt;
          &lt;!-- android:layout_width="wrap_content" --&gt;
          &lt;!-- android:layout_height="wrap_content" --&gt;
          &lt;!-- android:layout_marginLeft="100dp" --&gt;
          &lt;!-- android:text="Negative" --&gt;
          &lt;!-- android:textColor="#FFF" android:clickable="false"&gt; --&gt;
          &lt;!-- &lt;/RadioButton&gt; --&gt;
          &lt;!-- &lt;/RadioGroup&gt; --&gt;
          &lt;!-- &lt;/LinearLayout&gt; --&gt;
  
          &lt;LinearLayout
              android:id="@+id/linearLayout5"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="25dp"
              android:orientation="horizontal" &gt;
  
              &lt;TextView
                  android:id="@+id/textView15"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="TextView"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#000"
                  android:textStyle="bold"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/textView4"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Type of Trigger"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/linearLayout6"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="horizontal" &gt;
  
              &lt;RadioGroup
                  android:id="@+id/TypeTrigger"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:visibility="invisible" &gt;
  
                  &lt;RadioButton
                      android:id="@+id/constant_trigger"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:checked="true"
                      android:text="Constant"
                      android:textColor="#FFF"
                      android:visibility="visible" &gt;
                  &lt;/RadioButton&gt;
  
                  &lt;RadioButton
                      android:id="@+id/pulse_trigger"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="100dp"
                      android:text="Pulse"
                      android:textColor="#FFF" &gt;
                  &lt;/RadioButton&gt;
              &lt;/RadioGroup&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/linearLayout2"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="25dp" &gt;
  
              &lt;TextView
                  android:id="@+id/textView16"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textStyle="bold"
                  android:visibility="invisible" /&gt;
  
              &lt;TextView
                  android:id="@+id/textView17"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text=": Continuous or One Time (One Time Only Available for                         Pulsed Input(s))"  
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:visibility="invisible" /&gt;
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout
              android:id="@+id/linearLayout1"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" &gt;
  
              &lt;RadioGroup
                  android:id="@+id/contOneTime"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:visibility="invisible" &gt;
  
                  &lt;RadioButton
                      android:id="@+id/continuous_trigger"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:checked="true"
                      android:text="Continuous" /&gt;
  
                  &lt;RadioButton
                      android:id="@+id/oneTime_trigger"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="80dp"
                      android:text="One Time" /&gt;
              &lt;/RadioGroup&gt;
             &lt;/LinearLayout&gt;
  
             &lt;LinearLayout
              android:id="@+id/linearLayout7"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="25dp"
              android:orientation="vertical"
              android:visibility="visible" &gt;
  
              &lt;TextView
                  android:id="@+id/textView5"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Timer Configuration For Selected Input"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
             &lt;/LinearLayout&gt;
  
  
             &lt;LinearLayout
              android:id="@+id/linearLayout8"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="20dp"
              android:orientation="horizontal" &gt;
  
              &lt;TextView
                  android:id="@+id/textView6"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Number of Pulses"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
  
              &lt;EditText
                  android:id="@+id/NumberOfPulses"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:hint="0"
                  android:inputType="number"
                  android:numeric="integer"
                  android:visibility="invisible" &gt;
  
                  &lt;requestFocus&gt;
                  &lt;/requestFocus&gt;
              &lt;/EditText&gt;
  
              &lt;TextView
                  android:id="@+id/textView7"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.34"
                  android:text=" within,"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
             &lt;/LinearLayout&gt;
  
             &lt;LinearLayout
              android:id="@+id/linearLayout9"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="20dp"
              android:visibility="visible" &gt;
  
              &lt;EditText
                  android:id="@+id/Minutes"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.00"
                  android:hint="0"
                  android:inputType="number"
                  android:numeric="integer"
                  android:visibility="invisible" &gt;
              &lt;/EditText&gt;
  
              &lt;TextView
                  android:id="@+id/textView8"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.00"
                  android:text="Minutes,"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
  
              &lt;EditText
                  android:id="@+id/Seconds"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.00"
                  android:hint="0"
                  android:inputType="number"
                  android:numeric="integer"
                  android:visibility="invisible" &gt;
              &lt;/EditText&gt;
  
              &lt;TextView
                  android:id="@+id/textView9"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Seconds,"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
  
              &lt;EditText
                  android:id="@+id/Milliseconds"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.00"
                  android:hint="0"
                  android:inputType="number"
                  android:numeric="integer"
                  android:visibility="invisible" &gt;
              &lt;/EditText&gt;
  
              &lt;TextView
                  android:id="@+id/textView10"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Milliseconds."
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#FFF"
                  android:visibility="invisible" &gt;
              &lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/textView2"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.00"
                  android:text="Medium Text"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:visibility="invisible" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/linearLayout13"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="20dp"
              android:weightSum="1" &gt;
  
              &lt;Button
                  android:id="@+id/inputAccept"
                  android:layout_width="159dp"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.04"
                  android:text="Accept" &gt;
              &lt;/Button&gt;
  
              &lt;Button
                  android:id="@+id/button3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Button"
                  android:visibility="invisible" &gt;
              &lt;/Button&gt;
  
              &lt;Button
                  android:id="@+id/inputSave"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.06"
                  android:text="Save"
                  android:visibility="invisible" &gt;
              &lt;/Button&gt;
  
              &lt;Button
                  android:id="@+id/button5"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Button"
                  android:visibility="invisible" &gt;
              &lt;/Button&gt;
  
              &lt;Button
                  android:id="@+id/inputLoad"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="0.05"
                  android:text="Load"
                  android:visibility="invisible" &gt;
                  &lt;/Button&gt;
              &lt;/LinearLayout&gt;
           &lt;/LinearLayout&gt;
         &lt;/ScrollView&gt;
  
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>(Please someone help me figure this thing out, its driving me crazy!!).
  I would also like to mention that I have tried most of the fixes with people who had similar issues such as filling the view port, and enabling the vertical scroll bar, non of these helped me with my troubles. I also tried adding them to the parent layout and did not seem to work either.</p>