On two devices it works fine. but on samsung s4 black edition (hacked) EditText goes under the keyboard. by pressing EText, first ET rises. after entering the first character Edettext goes under the keyboard. If you remove in the xml file android: gravity there is no problem. but I need to center the text.

In the android manifest: windowSoftInputMode = "adjustPan"

  • Show xml in which lies EdetText. And you can also have a screenshot of how it looks without a keyboard. - anber

1 answer 1

Here they write that this is a bug, it appears if you use fullscreen activity to remove the status bar. Solution options are to wrap the whole layout in a ScrollView or use adjustResize instead of adjustPan