Your First Kotlin Android App: Polishing the App
Aug 22 2023 · Kotlin 1.8.20, Android 13, Android Studio Flamingo | 2022.2.1
Part 3: Finish the App
23. Add a Custom Splash Screen
Notes: 23. Add a Custom Splash Screen
At 05:19, update the theme of the starter
<activity> node instead of the
<application> node for it to work on Android versions prior to Android 12. There seems to be a bug with the
core-splashscreen library that makes the splash screen not to show up for older Android devices like those running from SDK 24 and up if you update the
<application> theme just like I did.
Check out the comments section of this episode for the full gist :]
Heads up... You've reached locked video content where the transcript will be shown astext.
It’s time to add a custom splash screen for Bullseye. A splash screen is a screen that is displayed before the app is fully loaded. This will make your app’s launch appear to be faster.
<!-- Splash Screen Theme--> <style name="Theme.CustomSplashScreenTheme" parent="Theme.SplashScreen"> </style>
<item name="windowSplashScreenBackground">@color/white</item> <item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item> <item name="postSplashScreenTheme">@style/Theme.Bullseye</item>