~/talk

Implementing a Splash Screen in Android: Full Guide

Talkat droidcon Italy 2022 · 2022-10-06..10-07· [android]
slides:none on file

Concrete steps and outcomes: use the Android 12 SplashScreen API (backwards via splashscreen-compat), add the dependency, define a splash theme with windowSplashScreenAnimatedIcon and postSplashTheme, call installSplashScreen() before setContentView, and optionally animate exit with setOnExitAnimationListener then call remove on the provider. Animated icons and branding image work only on API 31+, icon sizes are fixed (240/288dp rules), Android Studio launches may hide the system splash, and legacy approaches (launch theme vs splash activity) cause double splash or extra delay.

AI-written summary · about

  1. 0:00Importance of first impressions
  2. 1:40Splash screen fundamentals
  3. 4:05App startup states
  4. 5:16Introduction to Android 12 API
  5. 7:20Customizing appearance
  6. 12:20Implementation steps
  7. 18:02Advanced visual adjustments
  8. 24:02Splash screen animations
  9. 29:40Common requirements and caveats
  10. 31:49Legacy methods and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.