title: Android Keyboard - android:windowSoftInputMode="adjustPan"
body: <p>I know there is heaps on here related to the virtual keyboard in Android, but I just cant seem to figure out how to achieve a solution to my problem.</p>
  
  <p>For those that are not familiar with <code>AdjustPan</code> and <code>AdjustResize</code> you can check out what they are/do here - <a href="https://stackoverflow.com/questions/17410499/difference-between-adjustresize-and-adjustpan-in-android#answer-17410528">Difference between adjustResize and adjustPan in android?</a></p>
  
  <p>What I am trying to achieve is the <code>AdjustPan</code> result in which my webview is not resized, but scrolls to the input box instead as I have submit/cancel buttons that are <code>position:absolute</code> to the bottom of the screen. When I use the <code>AdjustPan</code> setting, the keyboard opens up but covers my input and doesn't scroll the webview to the input.</p>
  
  <p>On the other hand when I use the <code>AdjustResize</code> option, the <code>position:absolute</code> buttons from the footer cover the last few inputs as there is quite a lot of content to fit in half the screen size.</p>
  
  <p>Currently my Activity looks like this</p>
  
  <pre><code>&lt;activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize"&gt;
  </code></pre>
  
  <p>I am trying to avoid the Javascript listener solutions as they seem a bit hackery and from my experience usually don't provide a seamless look and feel.</p>