Please say it clearly On Mar 5, 7:02 am, Mark Murphy <mmur...@commonsware.com> wrote: > On Sun, Mar 4, 2012 at 5:57 PM, Matt Clark <mrclark32...@gmail.com> wrote: > > Right now in my app, when the soft keyboard is shown, it does not resize my > > activity to the upper half of the screen that is not being covered by the > > keyboard, higing some important elements. How would I detect that the soft > > keyboard has been shown, and then change my layout to fit? > > Consider wrapping your layout in a ScrollView, then setting > android:windowSoftInputMode to adjustResize. > > http://developer.android.com/resources/articles/on-screen-inputs.html > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in NYC:http://marakana.com/training/android/
-- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en