user780756 user780756 - 8 days ago 6
Android Question

Cordova fullscreen splash screen on Android still shows title bar

I am creating a fullscreen app using latest cordova.
I have added the splash screen images and the plugin for it. And also in the config.xml, the preference to launch the app in fullscreen

<preference name="Fullscreen" value="true" />
<preference name="Orientation" value="landscape" />
<preference name="SplashScreenDelay" value="1000" />


When running the app, the splash screen shows up, but the problem is that the app still shows the title bar on top, until the app finishes showing the splash screen, where the app finally goes into true full screen.

Is there a way/flag/mod to make the fullscreen work correctly while splash screen is displayed?

Del Del
Answer

The best way to show a full screen splash is by putting this line in your manifest under activity tag

android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"