Add the following attribute in menifest file while declaring the activity
<activity android:name=".ActivityName" android:windowSoftInputMode="adjustPan">
This is better idea to use attribute in menifest file rather using setOnFocusChangeListener() for every Edit Text
Don't Forget to leave Comments
<activity android:name=".ActivityName" android:windowSoftInputMode="adjustPan">
This is better idea to use attribute in menifest file rather using setOnFocusChangeListener() for every Edit Text
Don't Forget to leave Comments
2 comments:
I tried your method but im getting same problem... can you suggest some other method..
Hi Nancy,
can you please mention what problem you are getting.
Post a Comment