Android keyboard puts tab bar on top

*爱你&永不变心* 提交于 2019-11-30 20:15:41
Chaitu

add these properties for your activity in manifest file:

android:windowSoftInputMode="stateHidden|adjustResize|adjustPan"

Hope this helps

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"

This makes your Tabbar to stay at the bottom even when the softkeyboard is visible.

You probably want

android:windowSoftInputMode="adjustNothing"

There is probably some confusion over this since it's currently missing from the documentation at

http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!