EditText, adjustPan, ScrollView issue in android

developer picture developer · Jan 30, 2014 · Viewed 14.1k times · Source

I have a EditText which is enclosed in ScrollView, but when the keyboard comes up.

You can NOT scroll down to the fields that are now covered. I have tried adding adjustSize, adjustPan in the manifest and in the class.

But its not working..

Answer

Mukesh Parmar picture Mukesh Parmar · Jan 30, 2014

I was suffering from the same issue and I a found solution. So, maybe it will help you.

Please give following attributes to ScrollView tag:

android:isScrollContainer="false"

And in manifest of your activity to :

android:windowSoftInputMode="adjustPan"