I show an edit dialog in an activity, when the soft keyboard displaying, the window of the activity will be resized to too samll which looks awful. I don't want the window of the activity be resized and layout. I just want the keyboard can cover on the activity window and the dialog move to the top so that soft keyboard have room to show.
I have tried to use android:windowSoftInputMode="xxxxx" in the manifest, but there are no one mode which fit my situation. I also found the similar question, but it did't solve my problem.
EDIT: I have tried setImeOptions
and also getWindown().setFlags
but it still did't worked, Any advice will be very appreciated.
EDIT2: I have tried in 3.0, and use android:windowSoftInputMode="adjustNothing", It worked perfectly, but how can i implement this on 2.3?