Android: phonegap/cordova: switch full screen mode while app is running
问题 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. 回答1: 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. 回答2: Try the following