16

I have a button bar (its parent is a RelativeLayout of the total screen) on the bottom of screen (with the help of android:layout_alignParentBottom = "true")

The thing is, when the keyboard is shown, this bar appeared just above the keyboard, which reduces the size of the rest of the display.

Have you any idea on how to force the button bar to stay on the bottom of the screen even when the keyboard is shown?

Adinia
  • 3,722
  • 5
  • 40
  • 58
Joze
  • 1,285
  • 4
  • 19
  • 33

1 Answers1

45

In AndroidManifest.xml, set android:windowSoftInputMode="adjustPan" to your activity. See doc for more details.

Andrii Chernenko
  • 9,873
  • 7
  • 71
  • 89