简体   繁体   中英

Intel XDK hide Status bar

I have made an app with IntelXDk, and I want to hide the status bar. In the app.js file I have this code:

document.addEventListener("intel.xdk.device.ready",function(){ 
    intel.xdk.device.hideStatusBar();
},false);

But when the app start on my android device the status bar is still visible.

What am I doing wrong.

btw I have installed the plugin Intel XDk Device and just for test the index.html file it only contains a header and nothing else.

Thank you

Click the link in the top left corner,

Then check the fullscreen option,

Images courtesy of Google.

Then when you build the APK it will be in fullscreen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM