Skip to content

Commit 575f3c2

Browse files
committed
Use vector icon for splash screen in SDK < 26
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
1 parent 594abf8 commit 575f3c2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:drawable="@color/ic_launcher_background"/>
4+
<item android:drawable="@drawable/ic_launcher_foreground"/>
5+
</layer-list>

app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<style name="AppTheme.Splash" parent="Theme.SplashScreen">
55
<item name="windowSplashScreenBackground">?attr/colorSurface</item>
6-
<item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_round</item>
6+
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_logo</item>
77
<item name="postSplashScreenTheme">@style/AppTheme</item>
88
</style>
99

0 commit comments

Comments
 (0)