本文介绍了使用Phonegap Build在Android中隐藏状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在config.xml文件中启用了全屏,但当键盘出现时,状态栏也显示,并保持在那里,除非我点击它。有一种方法可以避免这一点在Ios,但我没有找到任何东西至少可以使用jquery点击状态栏程序符号?
I have enabled fullscreen in the config.xml file but when the keyboard appears ,status bar is shown also and stays there unless i tap on it.There is a way to avoid this in Ios but i haven't find anything for android.At least can i tap the status bar programmaticaly with jquery?
推荐答案
-
安装StatusBar插件:
cordova插件add cordova-plugin-statusbar
更新 config.xml
:
< gap:plugin name =com.phonegap.plugin。状态栏/>
请参阅 plugin for more information。
See https://github.com/phonegap-build/StatusBarPlugin plugin for more information.
这篇关于使用Phonegap Build在Android中隐藏状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!