title: WebView too long. Android
body: <p>I have WebView, put it in to scrollview. I need to do it that way cause at the bottom 
  I got ImageView and lower button.</p>
  
  <p>The problem appear on Android 4.03. Where webview is much longer that it should be.</p>
  
  <pre><code>    WebView mWebView = null;
      mWebView = (WebView) findViewById(R.id.webview);
      mWebView.clearCache(true);
      mWebView.getSettings().setJavaScriptEnabled(true);
      mWebView.setBackgroundColor(0x00000000);
      mWebView.loadUrl("xxxxxxxxxxxxxxxxxxxxxxxxxxxx");
      mWebView.setVerticalScrollBarEnabled(true);
      mWebView.setHorizontalScrollBarEnabled(true);    
      mWebView.setWebViewClient(new WebViewClient() 
      {
          @Override
          public void onPageFinished(WebView view, String url)  
          {
              super.onPageFinished(view, url);
              acceptBtn.setVisibility(View.VISIBLE);
          }
  
          @Override
          public void onPageStarted (WebView view, String url, Bitmap favicon)
          {
              super.onPageStarted(view, url, favicon);
          }
  
          @Override
          public boolean shouldOverrideUrlLoading(WebView view, String url) 
          {
              return super.shouldOverrideUrlLoading(view, url);
          }
  
      });
  </code></pre>
  
  <p>and the xml:</p>
  
  <pre><code>&lt;ScrollView 
  android:layout_below="@+id/top"
  android:layout_alignParentBottom="true"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  &lt;RelativeLayout 
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;TextView
          android:id="@+id/helpText"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignLeft="@+id/topTerms1"
          android:layout_alignParentTop="true"
          android:layout_alignRight="@+id/topTerms1"
          android:layout_marginBottom="10dp"
          android:layout_marginTop="10dp"
          android:layout_marginLeft="10dp"
          android:layout_marginRight="10dp"
          android:gravity="center"
          android:text="@string/termsText"
          android:textColor="#777777"
          android:textSize="12dp" /&gt;
  
      &lt;ImageView
          android:id="@+id/topTerms1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_below="@+id/helpText"
          android:layout_marginTop="5dp"
          android:src="@drawable/box_top" /&gt;      
  
      &lt;WebView
          android:id="@+id/webview"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignLeft="@+id/topTerms1"
          android:layout_alignRight="@+id/topTerms1"
          android:layout_below="@+id/topTerms1"
          android:layout_marginLeft="10dp"
          android:layout_marginRight="10dp"/&gt;
  
  
  
      &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>