0

Already tried setting android:windowSoftInputMode="adjustPan" in the manifest file, When I tap the bottom (4th one from top) EditText, the soft keyboard partially hides it:

enter image description here

This however does not happen in the Android emulator - the screen pans and I get the focus on the EditText (keyboard still covers a small part of the EditText but it's acceptable I think):

enter image description here

Shai
  • 25,159
  • 9
  • 44
  • 67

1 Answers1

1

Put your EditText inside the ScrollView and then give property adjustResize, instead of adjustPan, it will automatically adjust your screen and its components.

Pratik Dasa
  • 7,439
  • 4
  • 30
  • 44
  • I want everything to remain in it's place. Won't 'adjustResize' move things around when the keyboard pops up? I don't mind it will move the whole thing as a 'block', though. – Shai Nov 03 '14 at 13:10