When I open they soft keyboard in my app while in landscape mode, the keyboard covers my entire app. The only thing that is shown is the keyboard and a space at the top to enter text. Keyboard is appearing correct in portrait mode.
Press the F11 key on your computer's keyboard to exit full-screen mode. Note that pressing the key again will toggle you back to full-screen mode.
The Android Manifest Among the different default properties, you can see android:windowSoftInputMode . That's the property that we can change for the view behavior when the keyboard opens, which by default has a value of adjustResize .
Basically its not a bug of your application. Its how your keyboard IME is designed. When user goes to landscape mode, it'll take up the whole screen.
You may install some third party IME from play store and see how it works in portrait mode.
As per the link given by MCeley below. You can do something as below
@Override
public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
outAttrs.imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI;
}
or change your manifest for your activity as below
android:imeOptions="flagNoExtractUi"
Read here for more discussion
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