Use animated drawable on 31+ only

This commit is contained in:
Kirill Kamakin
2022-11-03 20:35:50 +01:00
parent b4071a5dae
commit db4aaf0bbd
2 changed files with 11 additions and 2 deletions

View File

@@ -1,10 +1,11 @@
<resources>
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@drawable/ic_splash_screen_background</item>
<style name="Base.Theme.App.Starting" parent="Theme.SplashScreen">
<item name="postSplashScreenTheme">@style/AppTheme</item>
</style>
<style name="Theme.App.Starting" parent="Base.Theme.App.Starting" />
<style name="AppTheme" parent="Theme.Material3.Light.NoActionBar">
<item name="colorPrimary">@color/md_theme_light_primary</item>
<item name="colorOnPrimary">@color/md_theme_light_onPrimary</item>