Skip to content

Demo apps showing different possible splash screen implementations on Android

Notifications You must be signed in to change notification settings

KCeh/android-splash-screen-demos

Repository files navigation

Android Splash Screen Demos

Note: all listed ways are legacy implementations before Android 12 (S). Android 12 offers SplashScreen API to implement splash screen.

Simple Splash Screen

Uses theme (styles.xml) to show static splash screen. Simple but effective way.
Splash demo gif

Animated Splash Screen with Handler

This approach uses Handler with fixed timeout and animations to make splash screen fancier. Runnable makes sure to route user to next activity. Also you can skip initial blank screen by using same theme trick which is shown in previous example. Problems (memory leaks etc.) with this approach are mainly due to usage of Handler (which is deprecated!).
Splash demo2 gif

Animated Splash Screen with Coroutine

Solves problems with Handler by using Kotlin Coroutines. Also uses theme to impove splash screen (initial blank screen is replaced by background).
Splash demo3 gif

About

Demo apps showing different possible splash screen implementations on Android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages