title: Understanding android text input and soft keyboard
body: <p>When user selects input field, keyboard comes up but the input field text is right on top of the virtual keyboard.</p>
  
  <p>Problem gets worse when it is a textarea because keyboard wants to focus on the first line only not the entire textarea box.</p>
  
  <p>In my AndroidManifest.xml I tried changing android:windowSoftInputMode='adjustPan' but did not  help.</p>
  
  <p><img src="https://i.stack.imgur.com/0V5Nu.jpg" alt="enter image description here"></p>
  
  <p>EDIT -------------------</p>
  
  <p>Using Rhomobile, Jquery Mobile and iScroll</p>
  
  <p>Form is in a data-role="footer" data-theme="b" data-position="inline" div tag to make it stick to the bottom of the view.</p>
  
  <pre><code>&lt;input class="imInput&gt;" name="im[the_message]" type="text" maxlength="100"/&gt;
  </code></pre>
  
  <p>No matter what I do the keyboard lines up with the bottom of the text.  I have tried making line-height larger, padding, etc.  nothing works.</p>
  
  <p>How Can I make the keyboard line-up to the bottom of the field?</p>