Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

kotlin - Disable Android 12 default splash screen

In the google I/O presentation, google team says that we can disable the default splash screen. I want to do that but I couldn't find the way to do it.

Has anyone able to achieve this?

Later edit:

I misunderstood what speakers told in that video. It seems that you can only edit the default splash screen, not disabling it.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

On Android 12, it's not possible to opt out of the splash screen. It' only possible to customize it: icon, window background, exit animation.

By default, the splash screen is shown from user touch until the first frame of your application is drawn, so to minimize the time during which the splash screen is shown, you can try to reduce the launch time of your application.

You can also implement you own exit animation so the transition from the splash screen to the app is more seamless.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...