mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
Different app icon background for debug builds
Change-Id: I58d40b5862f933a15cb1859f7755d8c5ce32007a
This commit is contained in:
parent
1894bb0b11
commit
c1149858c4
4 changed files with 12 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
10
vector/src/debug/res/drawable/ic_launcher_background_sc.xml
Normal file
10
vector/src/debug/res/drawable/ic_launcher_background_sc.xml
Normal 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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue