Android realizes the flash welcome interface
•
Android
Flash screen: when the app is opened, it will be displayed. After a few seconds, it will automatically close and enter another interface. Splashactivity will jump to mainactivity
There are three implementation methods in Android
XML code:
(1) Using the postdelayed method of the handler object, you can pass a runnable object and a time that needs to be delayed
(2) Use the animation duration to jump after the animation
(3) Realized by timer,
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码