I have the following code in my main activity onCreate:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
I have the following code in my ground layout / main.xml
<EditText android:imeOptions="flagNoExtractUi</EditText>
Why is softinput superimposed on top of the user interface but doesn't resize it in landscape mode?
How to make the user interface with softinput work in landscape mode in the same way as in portrait mode?
android input resize landscape
Divers
source share