I have a layout with an AutoCompleteTextView and when click on it to write something the keybord is shown as excepted but instead of cover the rest of the activity, it raises it up and some views with it that should have been covered (see image below - the back and next buttons should be in the bottom of the activity and the keyboard should cover them).
How can I avoid this kind of behavior.
(this layout is inside ViewPager and in other pages this behavior does not occur only after it's occurs once in this page)

Thanks!
Add this into your AndroidManifest.xml:
<activity
android:name="..."
android:windowSoftInputMode="adjustPan">
...
Read more about it in http://developer.android.com/resources/articles/on-screen-inputs.html "Enabling resize mode and other window features" part
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With