Wednesday, 28 August 2013

Keyboard pushing layout elements "up" along with it

Keyboard pushing layout elements "up" along with it

I have an app with ListView in it and I added search functionality to it.
When I press on EditText and it opens keyboard, it pushes everything in
the layout along with it.
Normal layout:
With keyboard:
As you can see; the ad, play button, seekbar are all pushed up along with
the keyboard, but I don't want that. Is there a way I can avoid this?
I tried adding this to Manifest file:
android:windowSoftInputMode="stateUnchanged"
But that doesn't work.

No comments:

Post a Comment