1

Showing the Soft Keyboard manually with InputMethodManager does not adjust the window

view story
linux-howto

http://stackoverflow.com – So I have an Activity that is using windowSoftInputMode="adjustPan", and I have a OnPreDrawListener for an EditText that calls: editText.requestFocus(); inputManager.showSoftInput(editText, 0); Which works as expected and pushes the Activity up to make room for the EditText. However, if I dismiss the keyboard with the back button (which pans the window back to the original location), then touch the EditText again to show the keyboard, the keyboard shows, but the window does not adjust. I've even tried adding an OnClickListener to the EditText and calling the same two calls again: editText (HowTos)