问题描述
我想在应用程式执行时,在全萤幕模式和正常模式之间切换。
有没有phonegap插件/ p>
如果没有,请告诉我如何在java中调用在全屏和正常之间切换,在javascript中调用。
可以使用此插件:
它具有AndroidFullScreen.showSystemUI,AndroidFullScreen.leanMode,AndroidFullScreen.immersiveMode函数来执行切换。 / p>
I want to switch between full screen mode and normal mode while my app is running.
is there any phonegap plugin to do this for me (Android) ?
if no, Please tell me how can I switch between full screen and normal in java, called in javascript.
It's possible to do using this plugin: https://github.com/mesmotronic/cordova-plugin-fullscreen
it has functions AndroidFullScreen.showSystemUI, AndroidFullScreen.leanMode, AndroidFullScreen.immersiveMode to do the switch.
这篇关于Android:phonegap / cordova:在应用程式执行时切换为全萤幕模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!