Splash Screen is most commonly the first startup screen which appears when App is opened. In other words, it is a simple constant screen for a fixed amount of time which is used to display the company logo, name, advertising content etc.
A splash screen is a screen which appears when you open an app on your mobile device. So, we can say it’s the first impression for the user. It’s usually used to show the logo of the app or an image related with the app.
In my personal opinion, this is the most simple way to implement a static splash screen.
So, let’s code it.
Notice that we do not have setContentView() for this SplashActivity. View is displaying from the theme and this way it is faster than creating a layout.
If you look at the time splash screen displays is exactly the same with the time taken by app to configure itself because of a cold launch (very first launch). If the app is cached, the splash screen will go away almost immediately.
Hope using this article you will be able make your splash screen work in a right way.