The following requirements should be followed by your splash screen:
Set a transparent background color for just one window. The Splash Screen Compat library supports both Day and Night modes.
Make sure the animated icon satisfies the requirements listed below:
-
-
Format: An Animated Vector Drawable (AVD) XML file is required.
Size: An AVD icon must be four times larger than an adaptable icon, specifically:
-
The icon area needs to be 432 dp (in other words, four times 108 dp of the area of an unmasked adaptive icon).
The launcher symbol shows the inner two-thirds of the image, which must be 288 dp (in other words, four times the 72 dp that makes up the inner masked area of an adaptive icon).
- On phones, we advise limiting the duration to 1,000 milliseconds. If the app launch time is greater than 1,000 milliseconds, you may want to employ a looping animation; however, this cannot be done for more than 166 milliseconds.
- Set a suitable period for the splash screen to disappear, which appears as soon as your app renders its first frame. Keep the splash screen on-screen for longer lengths of time in this paper provides instructions on how to further modify this.