I have an activity that shows an AlertDialog. The AlertDialog
contains a EditText. So when the soft keyboard is shown for the
EditText in the dialog. The background activity content view don't
have to be resized or paned.  I wonder how to implement this behavior?
Because I found, the first time the soft keyboard is shown for the
EditText in the dialog, the keyboard cover on the background activity
content without pan & resize it. But after I close the dialog & press
up & down D-pad key, then show the dialog again, tap on the EditText.
The soft keyboard will shown while pan the background activity content
view. I don't know how to solve this inconsistency. I've tried to add
android:windowSoftInputMode=adjustResize but it doesn't work.

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to