How To fix white screen on app Start up?

Anonymous picture Anonymous · Dec 12, 2013 · Viewed 105.1k times · Source

I have an android app which displays a white screen for 2 seconds on startup. My other apps don't do this, but this one does. I have also implemented a splashscreen with the hope that it would fix this. Should I increase my splash screen sleep time? Thanks.

Answer

ireq picture ireq · Jan 23, 2016

Put this in a custom style and it solves all the problems. Using the hacky translucent fix will make your task bar and nav bar translucent and make the splashscreen or main screen look like spaghetti.

<item name="android:windowDisablePreview">true</item>