0

I have similar issue with: this, I have set:

android:windowSoftInputMode="adjustPan"

but the bottom of the EditText is overlapped by the keyboard. My:

<uses-sdk android:minSdkVersion="8" />

Anybody know the reason? Thanks in advance.

Community
  • 1
  • 1
Vigor
  • 1,706
  • 3
  • 26
  • 47

1 Answers1

0

For that you have to declared in your activity manifest

  <activity
        android:name=".activityname"
        android:label="@string/app_name"
        android:windowSoftInputMode="adjustPan|adjustResize" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
Zar E Ahmer
  • 33,936
  • 20
  • 234
  • 300
  • Hello Nepster, thank you for your response, but when i tried your code, the keyboard totally overlapped the edittext. – Vigor Jan 14 '15 at 14:46
  • put layout inside a ScrollView and also try android:windowSoftInputMode="adjustResize|stateHidden" one by one – Zar E Ahmer Jan 14 '15 at 18:04