Software Archive
Read-only legacy content

Android Hide Status and Navigation Bar at Splash Screen

Taucher
Beginner
1,312 Views

Hello,

How can i hide the status and navigation bar on Android at launch(Splash Screen)?

Note: I tried cordova fullscreen plugin, also i created a cordova plugin for executing a hide navigation bar java method at initiliaze. But couldn't achieve. 

 

 

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
1,312 Views

Those are the normal tactics used to get a full screen experience. Perhaps your device is preventing it (have you tried on some other devices) or you're not calling the plugin API at the right time? The plugin API is usable only active after the Cordova subsystem has finished initialized, so there can be some delay between the full screen and the first splash screen, especially if you've got some significant amount of initialization happening before the app is ready.

0 Kudos
Taucher
Beginner
1,312 Views

Hi Paul, 

I solved it with editing "SplashScreen.java" file:

I added the Android API Hiding "navigation and status bar"  Flags before "splashDialog.show();" function. 

But with Crosswalk(19) build:  After splash screen hides, they needed to be hidden again.    

Thanks,

 

 

 

 

0 Kudos
Reply