How to Create an Animated Splash Screen for Android: A Step-by-Step Guide

AndroidAscent
7 min readNov 23, 2023
Photo by Alexander Shatov on Unsplash

Hello, and welcome! In this tutorial you will learn about how to create a cool animated splash screen using the Android official Splash Screen Api.

Let’s take a look at how it will appear. Apologies for the GIF quality.

So, Let’s begin.

Step 1.Add Dependency.

Open your build.gradle (Module: app) file and add the Splash Screen dependency:
For Groovy :

implementation "androidx.core:core-splashscreen:1.0.0"

For Kotlin :

implementation("androidx.core:core-splashscreen:1.0.0")

Step 2.Add Your App Logo

Add the logo you want for your splash screen. You need a square Svg version for your app logo.
Navigate to res -> drawable -> New -> Vector Asset.
After the select the Local File and add the path to your app logo. Select the size to 50dp * 50dp.

--

--