这已经发布,但没有答案了。
This has been posted before but no answers.
问题:
的TabBar
- >(2片)
滚动型
和 EddiText
标签二:别的
在录音的的EditText
,软键盘上升和的TabBar
与它一起。
When taping the EditText
, the soft keyboard goes up and TabBar
along with it.
(丑陋的解决办法是禁用滚动在滚动型
)
(An ugly solution would be to disable scrolling in ScrollView
)
任何像样的解决办法?!
Any decent solution to this?!
一个简单的解决办法是告诉的TabBar来调整Softkeyboard模式。要做到这一点,去你的清单文件,并在使用TabBar活动中加入这一行,
A simple solution would be to tell the TabBar to adjust for Softkeyboard Mode. To do this, go to your manifest file, and in the Tabbar Activity add this line,
android:windowSoftInputMode="adjustPan"
这使你的TabBar留在底部,即使在softkeyboard可见。
This makes your Tabbar to stay at the bottom even when the softkeyboard is visible.