I have a RelativeLayout
with an EditText
and a Button
in it.
When the keyboard opens, the layout is pushed up to show the EditText
above the keyboard, but it's not enough to bring up the Button
to prevent it from hiding under the keyboard.
Is it possible to move the layout up more, or somehow prevent it from being under the keyboard?
Thanks
A similar question has been answered here: Android soft keyboard covers edittext field
Ideally you will be able to use windowSoftInputMode
to control how your Activity is moved around when the soft keyboard is displayed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.