Different app icon background for debug builds

Change-Id: I58d40b5862f933a15cb1859f7755d8c5ce32007a
This commit is contained in:
SpiritCroc 2022-04-04 12:34:15 +02:00
parent 1894bb0b11
commit c1149858c4
4 changed files with 12 additions and 2 deletions

View file

@ -53,7 +53,7 @@ logo_alternative() {
logo_replace_color "$mydir/graphics/ic_launcher_sc.svg" "$@"
logo_replace_color "$mydir/graphics/feature_image.svg" "$@"
logo_replace_color "$mydir/graphics/store_icon.svg" "$@"
logo_replace_color "$mydir/vector/src/main/res/mipmap-anydpi-v26/ic_launcher_background_sc.xml" "$@"
logo_replace_color "$mydir/vector/src/release/res/drawable/ic_launcher_background_sc.xml" "$@"
"$mydir/graphics/icon_gen.sh"
}

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="m0,0h108v108h-108z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</vector>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background_sc" />
<background android:drawable="@drawable/ic_launcher_background_sc" />
<foreground android:drawable="@mipmap/ic_launcher_foreground_sc" />
</adaptive-icon>