Hopefully this isn’t a dumb question, but when I initially click on my app, a kind of splash screen first appears for a few seconds with just a title bar indicating the name of the app and nothing else – then the app loads as expected. Is there any way to remove this screen?
Share
The system looks into your AndroidManifest.xml to find out what is the theme of the main Activity. If you don’t specify it manually, it assumes the application theme, if you don’t specify application theme then the default theme is used. The system then creates the “splash screen” solely acoording to the theme.
So if you want to remove it, create a theme that has a transparent background and no ActionBar. And in onCreate() you probably want to change the theme again (or just change the background and show the ActionBar).
But it’s better to have some visible “splash screen”. Otherwise if you click on the icon, you won’t see nothing for 1 – 2 seconds, which is quite weird, almost no app does this.