Android键盘动作片 [英] android keyboard moves tabs
问题描述
所以,我有一个离子/ PhoneGap的应用程序,我使用离子开始对myApp片刚刚建成
然后我就加了一个视图的输入。当我集中使用的是Android模拟器或设备的输入,键盘上来,但这样做的标签。我必须明确地隐藏每当键盘是活跃在Android上的标签?我认为这将是一个共同的问题,但我还没有看到任何投诉。难道我只是有一个糟糕的项目什么的?
So I have an Ionic/Phonegap app that I just built using ionic start myApp tabs
then I added an input on one of the views. When I focus the input using an android emulator or device, the keyboard come up but so do the tabs. Do I have to explicitly hide the tabs whenever the keyboard is active on android? I would think this would be a common issue but I haven't seen any complaints. Do I just have a bad project or something?
推荐答案
您可以在manifest.xml更改活动属性
You can change the activity properties in the manifest.xml
<activity android:windowSoftInputMode="adjustPan"> </activity>
看一下例子: http://rickluna.com/wp/2014/ 03 / PhoneGap的-3-adjustpan与 - 全屏主题/
Look at the example: http://rickluna.com/wp/2014/03/phonegap-3-adjustpan-with-fullscreen-theme/
这篇关于Android键盘动作片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!