title: Showing the Soft Keyboard manually with InputMethodManager does not adjust the window
body: <p>So I have an Activity that is using <code>windowSoftInputMode="adjustPan"</code>, and I have a <code>OnPreDrawListener</code> for an <code>EditText</code> that calls:</p>
  
  <pre><code>editText.requestFocus();
  inputManager.showSoftInput(editText, 0);
  </code></pre>
  
  <p>Which works as expected and pushes the <code>Activity</code> up to make room for the <code>EditText</code>. However, if I dismiss the keyboard with the back button (which pans the window back to the original location), then touch the <code>EditText</code> again to show the keyboard, the keyboard shows, but the window does not adjust.</p>
  
  <p>I've even tried adding an <code>OnClickListener</code> to the <code>EditText</code> and calling the same two calls again:</p>
  
  <pre><code>editText.requestFocus();
  inputManager.showSoftInput(editText, 0);
  </code></pre>
  
  <p>But the window does not pan until I dismiss the window and show it again. Any suggestions?</p>