Soft Keyboard comes over the EditText

10,244

Ensure that you have specified the Window Adjustment Mode in your AndroidManifest.xml file for the Activityin which you want to control the SoftKeyboard

Like this:

<activity name="YourActivity"
    android:windowSoftInputMode="stateVisible|adjustResize">
</activity>

or

<activity name="YourActivity"
    android:windowSoftInputMode="stateVisible|adjustPan">
</activity>

Refer this : Enabling resize mode and other window features

Share:
10,244
Ray
Author by

Ray

Updated on June 18, 2022

Comments

  • Ray
    Ray almost 2 years

    I am using Appcelerator's Titanium to develop an Android application. When focus comes over one of the EditText(at lower end of page) the keypad covers the EditText so when I am keying text, I can't see what's being keyed in. What are my options ?

    1. How to move EditText higher on the screen ?
    2. Some applications show "model" form behavior where just that EditText & keyboard shows, any examples of how to do this?
  • Calebe Santos
    Calebe Santos over 10 years
    Thank you for the "adjustPan"