0

I have a requirement to show a keyboard input in an app I'm making, but the "top" part of the soft keyboard needs to be hidden. I say "top" part, I'm sure it has a name but I haven't been able to find it. Instead, I've drawn a diagram showing you which part of the soft keyboard I want to hide (the part enclosed in the red rectangle):

enter image description here

Is this possible? If so, could someone point me to the official docs that explain it because I've been unable to find any (probably because I don't know the name for the "top" part).

Thomas Cook
  • 4,371
  • 2
  • 25
  • 42

1 Answers1

1

Looks like you are talking about the full-screen editing view (landscape mode).

Try to add

android:imeOptions="flagNoExtractUi|flagNoFullscreen"

in the edit text

Rohit5k2
  • 17,948
  • 8
  • 45
  • 57