title: Webview inside Nestedscrollview/Scrollview missing contents
body: <p>I have a webview which is placed insde a nestedscrollview. Problem i am facing is webview is not loading the full page. Instead it loads a part of the page and after that it keeps the bottom space blank (white).</p>
  
  <p>I have tried with scrollview as well. </p>
  
  <p><strong>Output I am getting:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/WkeJr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WkeJr.png" alt="Output i am getting"></a></p>
  
  <p><strong>My Code for webview:</strong></p>
  
  <pre><code>private ImageButton backButton;
      private WebView webView;
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_article);
  
          backButton = findViewById(R.id.backButton);
          webView=(WebView)findViewById(R.id.webView);
          webView.setWebViewClient(new MyBrowser());
  //        if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.N) {
  //            descriptionView.setText(Html.fromHtml(data, Html.FROM_HTML_MODE_COMPACT));
  //        } else {
  //            descriptionView.setText(Html.fromHtml(data));
  //        }
          webView.getSettings().setJavaScriptEnabled(true);
  
          webView.loadUrl("file:///android_asset/html/test.html");
  
          backButton.setOnClickListener(this);
      }
  
      private class MyBrowser extends WebViewClient {
          @Override
          public boolean shouldOverrideUrlLoading(WebView view, String url) {
              view.loadUrl(url);
              return true;
          }
      }
  </code></pre>
  
  <p><strong>Layout File:</strong> </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:card_view="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".Activities.ArticleActivity"&gt;
  
  
      &lt;RelativeLayout
          android:id="@+id/topBar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/colorPrimary"&gt;
  
          &lt;ImageButton
              android:id="@+id/backButton"
              android:layout_width="48dp"
              android:layout_height="48dp"
              android:layout_centerVertical="true"
              android:layout_marginLeft="10dp"
              android:background="@null"
              card_view:srcCompat="@drawable/outline_arrow_back_ios_24" /&gt;
  
          &lt;ImageView
              android:layout_width="wrap_content"
              android:layout_height="20dp"
              android:layout_centerInParent="true"
              android:layout_margin="20dp"
              android:scaleType="centerInside"
              android:src="@drawable/x01" /&gt;
      &lt;/RelativeLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_below="@+id/topBar"&gt;
  
          &lt;ScrollView
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;android.support.v7.widget.CardView
                  android:id="@+id/card_view"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_margin="10dp"
                  card_view:cardCornerRadius="2dp"&gt;
  
  
                  &lt;LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:layout_gravity="center"
                      android:orientation="vertical"&gt;
  
                      &lt;ImageView
                          android:id="@+id/iconView"
                          android:layout_width="match_parent"
                          android:layout_height="120dp"
                          android:layout_centerVertical="true"
                          android:scaleType="centerCrop"
                          android:src="@drawable/article" /&gt;
  
                      &lt;com.virtual_antivirus.virtualantivirus.Utlis.BanglaTextView
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:layout_marginBottom="10dp"
                          android:layout_marginLeft="10dp"
                          android:layout_marginRight="10dp"
                          android:layout_marginTop="10dp"
                          android:text="ভার্চুয়াল ভাইরাসের সর্বনাশা শিকার"
                          android:textColor="@android:color/black"
                          android:textSize="18sp"
                          android:textStyle="bold" /&gt;
  
                      &lt;LinearLayout
                          android:layout_width="100dp"
                          android:layout_height="5dp"
                          android:layout_marginLeft="10dp"
                          android:background="@color/colorAccent"&gt;&lt;/LinearLayout&gt;
  
                      &lt;FrameLayout
                          android:layout_width="match_parent"
                          android:layout_height="match_parent"
                          android:minHeight="300dp"&gt;
  
                          &lt;WebView
                              android:id="@+id/webView"
                              android:layout_width="match_parent"
                              android:layout_height="match_parent" /&gt;
                      &lt;/FrameLayout&gt;
  
  
                  &lt;/LinearLayout&gt;
  
  
              &lt;/android.support.v7.widget.CardView&gt;
          &lt;/ScrollView&gt;
  
      &lt;/LinearLayout&gt;
  
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="5dp"
          android:layout_below="@+id/topBar"
          android:background="@drawable/shadow" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>