/ Status and Navigation Bar -
Phone Gap / Cordova
mko Since some Android 4+ apps build for the platform can run full screen, and since 4.4+ apps using the Immersive mode can hide the status & navbar and allow for a truly fullscreen UI.
:
: Config
1- :
2- ::cordova plugin add cordova-plugin-statusbar
:<preference name="StatusBarOverlaysWebView" value="true" />:<preference name="StatusBarBackgroundColor" value="#000000" />
:
:<!DOCTYPE html> <html> <head> <title>Device Ready Example</title> <script type="text/javascript" charset="utf-8" src="cordova.js"></script> <script type="text/javascript" charset="utf-8"> // Wait for device API libraries to load // function onLoad() { document.addEventListener("deviceready", onDeviceReady, false); } // device APIs are available // function onDeviceReady() { // Now safe to use device APIs StatusBar.hide(); } </script> </head> <body onload="onLoad()"> </body> </html>
:
https://cordova.apache.org/docs/en/4...viceready.html
https://cordova.apache.org/docs/en/l...gin-statusbar/