title: How to avoid the on-screen keyboard from covering the EditText in android
body: <p>whenever I click on the EditText, the screen readjusts and the edittext-view moves up. But this is not enough and the soft-keyboard still covers the view to not show what a user typing.</p>
  
  <p>My layout is as follows:</p>
  
  <p>A listview occupying 65% of screen height, followed by an editetxt view and a button</p>
  
  <pre><code>LISTVIEW
  
  
  ______________________________
  EDITTEXT              |BUTTON 
  ______________________________
  </code></pre>
  
  <p>My activity has the following flag set  <code>android:windowSoftInputMode="stateAlwaysHidden|adjustPan"</code></p>