Create an Android Splash Screen using Android Studio. Android splash screen is normally used to show the user progress before the application loads completely. Usually, people use splash screen just to showcase their applications logo for a couple of seconds.
Android Splash Screen can be implemented like a small slider or a small video or anything like that, the steps would be almost the same.
Major Points:
- Create a new activity names SplashScreen.
- Go to the app -> New -> Activity -> Empty Activity.
- Design the XML part, see the video.
- Set the timer.
- Set the activity as the launcher on the AndroidManifest.xml File.
XML Part:
XML part is used to design the Splash Screen part. We are using an image view on an empty activity. XML is really simple and anyone could easily understand it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#f1f1f1" > <ImageView android:id="@+id/logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:src="@drawable/logo" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:textSize="12dp" android:textColor="#454545" android:gravity="center_horizontal" android:layout_alignParentBottom="true" android:text="www.codeseasy.com" /> </RelativeLayout> |
Java Part:
Java part is used for setting the timer for Splash Screen. We just need a very few line of codes for setting the timer.
1 2 3 4 5 6 7 | new Handler().postDelayed(new Runnable() { @Override public void run() { Intent i = new Intent(SplashScreen.this, MainActivity.class); startActivity(i); finish(); } }, 3000); } |
Download Source Code and Demo Application

Android Splash Screen Demo

Subscribe to my channel: www.youtube.com/codeseasy
Latest Posts
- Android Splash Screen With Android Studio
- Implementing onClicklistener in Android using Android Studio
- Implement CardView On Android Application – Android Studio Tutorials
- Simple WebView – Website to Android App Just in 3 Minutes
- Edit Default Application Icon or the ic_launcher image In Android Studio
Find us on Social Media:
- Facebook: www.facebook.com/codeseasy
- Instagram: www.instagram.com/codeseasy
- Twitter: www.twitter.com/codeseasyblog