How to resize AlertDialog on the Keyboard display
问题 I have a AlertDialog box with approximately 10 controls (text and TextView ) on it. These controls are in a ScrollView with AlertDialog , plus I got 2 buttons positive and negative. The issue I have is when the soft keyboard pops up the two buttons are hidden behind the keyboard. I was looking for something like redraw function on my inner View or the dialog box. Below is the screen shot of what I am talking about. 回答1: If your dialog was an activity using one of the Dialog themes you could