Create Animated Splash Screen in Android

By Abhishek Shukla

Create a new project in Eclipse named AnimatedSplashScreen

AnimatedSplashScreenDoid1

Create a new xml file in the res/layout folder named splash.xml and add the following code to it.

splash.xml

Add the following code to AndroidManifest.xml

AndroidManifest.xml

Now add the following code to AnimatedSplashScreenActivity.java

 

AnimatedSplashScreenActivity.java

 

AnimatedSplashScreenActivity.java

Add a new class in the src folder and named MainActivity and add the following code to it.

MainActivity.java

And finally add the following code to main.xml

main.xml