Solution to the problem of white screen and black screen when activity starts in Android programming

This paper describes the solution to the problem of white screen and black screen when activity starts in Android programming. Share with you for your reference, as follows:

By default, when the activity starts, the screen is painted white first, and then the interface is drawn. The drawing interface is more or less delayed. During this time, what you see is a white screen, which obviously affects the user experience. How to eliminate it?

Just set style in activity theme

I hope this article will help you in Android programming.

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
分享
二维码
< <上一篇
下一篇>>