title: How to avoid soft keyboard pushing up / covering my layout?
body: <p>i'm looking for a solution to make my webview wrapped in relative layout be pushed off the screen from the top and and be squished or be overlayed by the soft keyboard. Ive used adjustPan in the current state, the dream state is what i want to achieve. Using adjustResize squishes my webview, to adjust for the lost height by the keyboard, I don't want that either. I prefer the ios way of pushing the entire webview up, so that the action bar overshoots the screen boundaries (if required).</p>
  
  <pre><code>    &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
          android:id="@+id/activity_main"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          tools:context="com.in.thewizards.MainActivity"&gt;
  
      &lt;WebView
          android:id="@+id/webView"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:hardwareAccelerated="true"
          android:allowClearUserData="false"
          android:scrollbars="none"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/kPmZa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kPmZa.jpg" alt="enter image description here"></a></p>