的TabBar上升以及键盘 [英] tabbar goes up along with keyboard
本文介绍了的TabBar上升以及键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这已经发布,但没有答案了。
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.
这篇关于的TabBar上升以及键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文