Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Taucher
Beginner
358 Views

Android Hide Status and Navigation Bar at Splash Screen

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. 

 

 

 

Tags (2)
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
358 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.

Taucher
Beginner
358 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,

 

 

 

 

Reply