Is there a way to not have the tab bar slide up along with the keyboard when a user touches the textbox in开发者_StackOverflow a screen?
Right now, in the default implementation, along with the keyboard opening up, the tab bar moves upwards and is visible.
Thanks for your help.
I'm using fragments with EditText and no scroll view inside them and I still had that problem. A solution for me was to add the android:windowSoftInputMode="adjustPan" property to the activity in the manifest. Not sure if it will work for normal activities, but perhaps this is a good place to start:
<activity android:name=".MyActivity" android:windowSoftInputMode="adjustPan" />
精彩评论