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


Nancy Miller said...

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

Sachin Shelke said...

Hi Nancy,

can you please mention what problem you are getting.