Today we’re going to create a splash screen for your Android app. A splash screen is usually an image or a view that appears to the user while the app is loading, it is also a way to make your brand or logo easier to be recognize by the user. Some android apps that uses splash screens include Facebook, Pocket and of course, the game apps. I’m going to show you two ways to create android splash screens.

Example logo to be seen in our splash screen.

Splash Screen With Two Activities

The first way I’m gonna teach you is using two activities, the first activity will be our splash screen and the second activity will be our app’s main screen. The splash screen activity will be shown for four seconds and then it will show the next activity. Download the code here:

codeofaninja350pxwidth.png – An example image used in the splash screen. This is included in the code download.

Splash Screen with One Activity

The second way to create a splash screen is using just one activity – your MainActivity. It should be covered with an ImageView first and then after few seconds, it will disappear with a simple fade-out animation to make it look smooth. Download code this code:

ANDROID DATA INTERCHANGE

ANDROID CANVAS

ANDROID INTENTS

WHAT PEOPLE SAY

★★★★★ “Thank you so much, it really helped me a lot, though I have encountered errors but I definitely pulled it out. Thank you very much, after two weeks of working on my project finding the best sqlite tutorial, this is the best so far, two weeks of searching and almost losing hope, but when i found this site it gives back hope to keep on going w/ my school project. Thank you very much sir!”

★★★★★ “This just saved me so much time that I will drink a beer for your sake, and I would pay you one if I'd have the chance. Thank you so much for your work, and for sharing it, keep going with your awesome job!”