0

I have some EditTexts inside the Navigation Drawer , But when the keyword is coming up it cover the EditText.

I tried the following code inside the activity definition of Manifest but the issue not fixed.

android:windowSoftInputMode="adjustResize" 

Any suggestin ?

Morteza Soleimani
  • 2,652
  • 3
  • 25
  • 44

1 Answers1

0

The windowSoftInputMode flag only works for Activities, which is not the case of a Navigation Drawer.

You can try to calculate the keyboard's height to manually move the EditText above it by using a GlobalLayoutListener: see here for a concrete example.

Community
  • 1
  • 1
Sebastiano
  • 12,289
  • 6
  • 47
  • 80