None of the options mentioned here work for you?
http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jul 12, 2012 at 11:56 PM, dreamtale <[email protected]> wrote:

> 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<http://stackoverflow.com/questions/5180789/android-how-to-prevent-resizing-the-window-when-displaying-the-virtual-keyboar>,
> 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
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to