title: When keyboard open webview not scrolling
body: <p>I have a application 50% native 50% is webview. I have only 1 input in webview but this is the problem, when keyboard open not scrolling webview.</p>
  
  <p><a href="https://i.stack.imgur.com/Sng2l.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sng2l.jpg" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/53baA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/53baA.jpg" alt="enter image description here"></a>
  My webview code:</p>
  
  <pre><code>    WebView webview = (WebView) findViewById(R.id.webview);
      webview.getSettings().setJavaScriptEnabled(true);
      webview.getSettings().setAllowFileAccess(true);
      webview.setVerticalScrollBarEnabled(true);
      webview.setDownloadListener(this);
      webview.requestFocus(View.FOCUS_DOWN);
      webview.requestFocus(View.FOCUS_UP);
      webview.loadUrl("WEBVIEW URL");
  </code></pre>
  
  <p>Webview layout:</p>
  
  <pre><code>            &lt;android.support.design.widget.AppBarLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;include layout="@layout/content_main" /&gt;
  
  &lt;RelativeLayout
      android:id="@id/activity_main"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="#FFFFFF"&gt;
  
      &lt;RelativeLayout
          android:id="@id/header"
          android:layout_width="fill_parent"
          android:layout_height="260.0dip"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_alignParentTop="true"
          android:background="@drawable/header" /&gt;
  
      &lt;RelativeLayout
          android:id="@id/logo_main"
          android:layout_width="170.0dip"
          android:layout_height="170.0dip"
          android:layout_above="@+id/container"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="28dp"
          android:background="@drawable/logo" /&gt;
  
      &lt;RelativeLayout
          android:id="@id/container"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_below="@id/header"&gt;
  
          &lt;WebView
              android:id="@+id/webview"
              android:layout_width="match_parent"
              android:layout_height="100.0dp"
              android:layout_below="@+id/insert_link"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true"
              android:layout_alignParentBottom="true"
              android:layout_centerHorizontal="true"
              android:layout_above="@+id/adView" /&gt;
  
          &lt;com.google.android.gms.ads.AdView
              android:id="@+id/adView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_centerHorizontal="true"
              app:adSize="SMART_BANNER"
              app:adUnitId="@string/admob_banner_id" /&gt;
  
          &lt;TextView
              android:id="@+id/downloader"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentTop="true"
              android:layout_centerHorizontal="true"
              android:layout_marginTop="18dp"
              android:textSize="27dp" /&gt;
  
          &lt;TextView
              android:id="@+id/insert_link"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/insert_link"
              android:textSize="17dp"
              android:layout_below="@+id/downloader"
              android:layout_centerHorizontal="true" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I tired this solutions but still same:
  <a href="https://stackoverflow.com/questions/28469546/webview-doesnt-scroll-when-keyboard-opened">WebView doesn&#39;t scroll when keyboard opened</a></p>
  
  <p><a href="https://stackoverflow.com/questions/3460915/webview-textarea-doesnt-pop-up-the-keyboard">WebView textarea doesn&#39;t pop up the keyboard</a></p>
  
  <p>What can I do about it?</p>