6

I am using the toolbar like in this post of google developers (appcompat-v21)

It works perfectly except when I press my editText. I set in manifest:

android:windowSoftInputMode="adjustPan"

But when the keyboard goes under my editText, the toolbar moves off screen.

Any way to solve this?

EDIT: adjustResize is not working in Lollipop and Kitkat, in JB yes.

EDIT2: it is caused by: when I set it true.

Dahnark
  • 121
  • 1
  • 5

1 Answers1

0

Try adjustResize in your code. It should work fine.

android:windowSoftInputMode="adjustResize"
Kuldeep Sakhiya
  • 3,172
  • 1
  • 18
  • 17