Tim
Tim

Reputation: 261

Android Layout question

My app has 5 different relative layouts that it can switch between by using a set of buttons that is at the bottom of the screen. 3 of the layouts contain only TextViews and ImageViews. The other 2 both have a ListView in them. On the 2 views that contain lists when the soft keyboard appears the buttons that are along the bottom move up to on top of the soft keyboard. But on the other 3 views the buttons get hidden by the keyboard. The buttons all have the attribute android:alignParentBottom="true" does anyone know why they'd be behaving differently when one of these two are the active layout at the time?

Upvotes: 1

Views: 1890

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007554

I can see that happening if you have android:windowSoftInputMode="adjustResize" in your manifest. The ListView widgets are resizable, and TextView/ImageView widgets are not.

Upvotes: 1

Related Questions