Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a raywenderlich.com Beginner subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

Add a Custom Splash Screen

This video was last updated on Jul 14 2022

Learn to display a splash screen for the Bull’s Eye app.

Contributors

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

You’ve setup up our app icons and looked at how to change the display name if there’s a need to. It’s time to add a custom splash screen.

implementation 'androidx.core:core-splashscreen:1.0.0-beta02'
<!--    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.NoActionBar.FullScreen</item>
...
android:theme="@style/Theme.CustomSplashScreenTheme"
android:theme="@style/Theme.Bullseye"
installSplashScreen()

Reviews

Comments