When the applications launched the splash screen is the first screen visible to user, the startup screen of an app is called splash screen.
In this tutorial we are going to create a splash screen for our android app.
To begin create android project file > new >new project>start with empty activity
Use application name as splashactivity
In the androidmanifest.xml activity having below intent filter is the splashactivity of your app.
Splashactivity.java
Splashactivity.xml
Now create another activity for your app which will run after your splash activity ends.
When user open app startup screen runs for hardly 2-3 seconds after that the main app appears, using above code we have successfully created the startup screen.
Now run the App and you will see Splash screen
No comments:
Post a Comment