Hello my Android Hub ...
Today I am here with you to tell you, How to make simple Splash Screen for android application ?
Today I am here with you to tell you, How to make simple Splash Screen for android application ?
Do you know what is Splash Screen ????
Answer : Splash screen is the main application screen which runs initially when you run application. This screen will run first after that you will go to next activity.
Example : Most of you are using "paytm" application, whenever you open that app, you will find there first screen with its logo and other thing. It will stay on screen till the program sets the seconds. Usually splash screen will take 3-5 second max.
How to implement it through Android Studio ????
- Create a new Android Studio Project.
- Take one empty black screen.
Now, In your activity.xml file, you can set picture or text or logo whatever you want, put it over there. Here I'm sharing a one snapshot of my work.
Now, you only need to define small line of code in your activity.java file.
Here I'm sharing that code that you should put in your project.
0 comments:
Post a Comment