Bug 1844386 - Only use splash screen animation for SDK 31+
parent
7ad42ac6ab
commit
8bc54f2ca7
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:drawable="@mipmap/ic_launcher_round"
|
||||
android:width="160dp"
|
||||
android:height="160dp"
|
||||
android:gravity="center" />
|
||||
</layer-list>
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<resources>
|
||||
<style name="SplashScreen" parent="SplashScreenThemeBase">
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/animated_splash_screen</item>
|
||||
<!-- Splash screen is animated to maximum 12 seconds -->
|
||||
<item name="windowSplashScreenAnimationDuration">12000</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue