Google+

Tuesday, May 10, 2011

Hide Tabbar on Soft Keyboard Automatically open in Android

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



2 comments:

Unknown said...

I tried your method but im getting same problem... can you suggest some other method..

Unknown said...

Hi Nancy,

can you please mention what problem you are getting.

Google+