Android Splash Screen Tutorial – The Ultimate Guide To Learn

1
638
Android Splash Screen
Android Splash Screen

Android Splash Screen Tutorial

This android splash screen tutorial is about how to implement a Splash Screen in your Android application. Generally splash screen consists of  app ‘s  logo or maybe just a loading screen to the user at start of application . We will create a splash screen without the title bar with fullscreen.

Create a new project in Eclipse

File > New > Android Application Project.

Application Name : SplashScreen

Project Name : SplashScreen

Package Name : com.adroittec.splashscreen

Splash Screen create new activity and name it as SplashScreen.java

Now Open AndroidManifest.xml file,make your SplashScreen activity as Launcher activity.

And Also Make it FullScreen & Hide ActionBar.

CODE FOR ANDROIDMANIFEST.XML:

 

Go to activity_splash_screen.xml(res–>layout)

Here “splash_image” is Image.

(You can put your app/company logo here)

CODE FOR: activity_splash_screen.xml

 

Now Time to Open your SplashScreenActivity.java.

For this Activity the timer is set to 5000 milliseconds(5 seconds) as delay before starting the MainActivity screen.

CODE FOR:SplashScreenActivity.java

Finally, Run On Emulator/Device and see the output.

android splash screen

FOR ANY QUERY OR SUGGESTION PLEASE COMMENT BELOW!!..

1 COMMENT

LEAVE A REPLY