The keyboard opens in full screen mode in landscape mode

When I open their soft keyboard in my application, and in landscape mode, the keyboard closes my entire application. The only thing that is displayed is the keyboard and the space at the top to enter text. The keyboard looks correct in portrait mode.

+6
source share
1 answer

This is basically not your application error. Its IME design is designed. When the user enters landscape mode, he will occupy the entire screen.

You can install a third-party IME from the playback store and see how it works in portrait mode.

According to the link below in MCeley. You can do something below

@Override public InputConnection onCreateInputConnection(EditorInfo outAttrs) { outAttrs.imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI; } 

or change your manifest for your activity below

 android:imeOptions="flagNoExtractUi" 

Read more here

+8
source

All Articles