title: WebvView zoom not working in android.support.v4.widget.NestedScrollView Android
body: <p>I have created Browser in Android, in that I am using <strong>AppBarLayout</strong> and <strong>NestedScrollView</strong> for scroll to hide/show header. But there are one issue occurs pinch to zoom is disabled after adding webview in NestedScrollView.</p>
  
  <p>My xml code is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/main_content"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true" &gt;
  
      &lt;android.support.design.widget.CustomAppBarLayout
          android:id="@+id/appbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:fitsSystemWindows="true" &gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              app:layout_collapseMode="pin"
              app:layout_scrollFlags="scroll|enterAlways"
              app:contentInsetLeft="0dp"
              app:contentInsetStart="0dp" &gt;
  
              &lt;LinearLayout
                  xmlns:android="http://schemas.android.com/apk/res/android"
                  android:layout_width="fill_parent"
                  android:layout_height="fill_parent"
                  android:background="@android:color/black"
                  android:orientation="vertical"
                  android:paddingTop="@dimen/statusbar_height" &gt;
  
                  &lt;LinearLayout
                      xmlns:android="http://schemas.android.com/apk/res/android"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:orientation="vertical" &gt;
  
                      &lt;LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:gravity="center" &gt;
  
                          &lt;ImageView
                              android:id="@+id/favicon"
                              android:layout_width="32dp"
                              android:layout_height="32dp"
                              android:contentDescription="@string/favicon"
                              android:src="@drawable/favicon_default" /&gt;
  
                          &lt;EditText
                              android:id="@+id/url"
                              android:layout_width="0dp"
                              android:layout_height="wrap_content"
                              android:layout_weight="1"
                              android:ems="10"
                              android:inputType="textUri"
                              android:selectAllOnFocus="true"
                              android:textColor="@android:color/white" &gt;
                          &lt;/EditText&gt;
  
                          &lt;Button
                              android:id="@+id/goButton"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:onClick="go"
                              android:text="@string/go" /&gt;
                      &lt;/LinearLayout&gt;                     
                  &lt;/LinearLayout&gt;
              &lt;/LinearLayout&gt;
          &lt;/android.support.v7.widget.Toolbar&gt;
      &lt;/android.support.design.widget.CustomAppBarLayout&gt;
  
      &lt;android.support.v4.widget.NestedScrollView
          android:id="@+id/scrollWeb"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior" &gt;
  
          &lt;WebView
              android:id="@+id/webView"
              android:layout_width="match_parent"
              android:layout_height="match_parent" /&gt;
      &lt;/android.support.v4.widget.NestedScrollView&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>Zoom code for WebView:</p>
  
  <pre><code>webview.getSettings().setJavaScriptEnabled(true);
  webview.getSettings().setBuiltInZoomControls(true);
  </code></pre>
  
  <p>Thanks.</p>