Pages

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:

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

    ReplyDelete
  2. Hi Nancy,

    can you please mention what problem you are getting.

    ReplyDelete

Thank you for your valuable comments on http://www.smartphonebysachin.blogspot.com.