title: Stop Android webview covering tabwidget
body: <p>I have a tabwidget placed at the bottom of the screen with a webview above it. When the content of the webpage the webview loads is larger than the screen, the webview expands to conver the tabwidget - because the layout_height is set to wrap_content in the webview and the scrollview it sits in.</p>
  
  <p>I'd like the scrollview to size to the available screen space.
  My xml is as follows:</p>
  
  <pre><code>&lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@android:id/tabhost"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" &gt;
  
  &lt;RelativeLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
      android:padding="0dp" &gt;
  
      &lt;TabWidget
          android:id="@android:id/tabs"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="-4dp"
          android:gravity="top" /&gt;
  
      &lt;FrameLayout
          android:id="@android:id/tabcontent"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_alignParentTop="true" &gt;
  
          &lt;ScrollView
              android:id="@+id/scroll1"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:scrollbars="none"
              tools:ignore="UselessParent" &gt;
  
              &lt;WebView
                  xmlns:android="http://schemas.android.com/apk/res/android"
                  android:id="@+id/webView1"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" 
                  android:gravity="bottom"/&gt;
          &lt;/ScrollView&gt;
  
      &lt;/FrameLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>I've put in a set height for the scrollview but as would be expected it is only accurate to a certain device(s), not universal.</p>
  
  <p>Any assistance would be appreciated.</p>