Android键盘把标签栏顶部键盘、标签、Android

由网友(初染)分享简介:我有一个小问题,当我在我的应用程序中打开键盘。我有一个标签栏是在页面的底部,并在某些情况下,并不总是当我点击编辑文本和键盘显示出来,它的移动我的标签栏在它的上面。下面是一个例子:I have a little problem when I open keyboard in my application. I have...

我有一个小问题,当我在我的应用程序中打开键盘。我有一个标签栏是在页面的底部,并在某些情况下,并不总是当我点击编辑文本和键盘显示出来,它的移动我的标签栏在它的上面。下面是一个例子:

I have a little problem when I open keyboard in my application. I have a tab bar which is on bottom of page and in some situations, not always when I click on edit text and keyboard shows up, it's moving my tab bar on top of it. Here is an example :

所以我的问题是:有没有什么办法来禁用它。我希望我的标签栏留在键盘隐藏时,它显示了。

So my question is : Is there any way to disable this. I want my tab bar to stay hidden under keyboard when it shows up.

在此先感谢!

推荐答案

您在manifest文件活动添加这些属性:

add these properties for your activity in manifest file:

android:windowSoftInputMode="stateHidden|adjustResize|adjustPan"

希望这有助于

Hope this helps

阅读全文

相关推荐

最新文章