androidkotlinsplash-screen

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.


Solution

  • On Android 12, it's not possible to opt out of the splash screen. It is 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.

    If you previously used a dedicated SplashScreen Activity and want to keep that activity, then here is the workaround from official docs.