title: Android Soft Keyboard isn't resizing my view
body: <p>I know there are a thousand questions about this, but I've crawled through them and none of their solutions are working for me.</p>
  
  <p>My activity has a tabbed interface with this kind of layout:</p>
  
  <pre><code>&lt;RelativeLayout&gt;
      &lt;LinearLayout tabBar&gt;
          &lt;Button tab1 /&gt;
          &lt;Button tab2 /&gt;
          &lt;Button tab3 /&gt;
          &lt;Button tab4 /&gt;
      &lt;/LinearLayout&gt;
      &lt;ViewFlipper&gt;
          &lt;fragment Tab1 /&gt;
          &lt;fragment Tab2 /&gt;
          &lt;fragment Tab3 /&gt;
          &lt;fragment Tab4 /&gt;
      &lt;/ViewFlipper&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>When the tab2 button is tapped in the LinearLayout then I change the ViewFlipper to display child 2 which is controlled by Tab2Fragment.</p>
  
  <p>Tab2Fragment's layout looks like this:</p>
  
  <pre><code>&lt;FrameLayout&gt;
      &lt;ListView/&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>When an item in the ListView is selected, I create a new fragment, let's call it Sub2Fragment and I add it as the child to the FrameLayout.</p>
  
  <p>Sub2Fragment has a layout like this:</p>
  
  <pre><code>&lt;LinearLayout android:layout_height="fill_parent" android:layout_width="fill_parent"&gt;
      &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
      &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
      &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
      &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
      &lt;Button /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When the soft keyboard is shown it's covering some of my EditTexts and my Button. I've tried wrapping that LinearLayout with a ScrollView as well:</p>
  
  <pre><code>&lt;ScrollView android:layout_height="fill_parent" android:layout_width="fill_parent"&gt;
      &lt;LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"&gt;
          &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
          &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
          &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
          &lt;LinearLayout&gt; &lt;TextView /&gt; &lt;EditText /&gt; &lt;/LinearLayout&gt;
          &lt;Button /&gt;
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>I've also tried my manifest with and without <code>android:windowSoftInputMode="adjustResize"</code> on my Activity, but nothing I try gets the view to automatically resize so that the ScrollView will let me scroll through the entire content when the soft keyboard is visible.</p>
  
  <p>I also tried wrapping the entire activity in a ScrollView, but that messed up my entire layout because it's based on filling the entire screen size and the ScrollView disconnects the child layout from what the actual size of the screen is...</p>
  
  <p>Any help?</p>