Skip to content

Commit 8d895c8

Browse files
committed
add monochrome icon support on Android 13+
1 parent 28a12ee commit 8d895c8

20 files changed

+60
-38
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="108dp" android:height="108dp" android:viewportWidth="108" android:viewportHeight="108">
2+
<path android:fillColor="#FFFFFFFF" android:pathData="M71.39 43.41L60.19 32.3H37.81v40.72H71.3V43.41zm-1.64 0h-9.56v-9.47zm-26.09-1.64v-1.12h15.41v2.24H43.66zm9.82 24.71h-9.81v-2.24h9.81zm12.05-7.06v1.12H43.66V58.3h21.87zm0-5.85v1.12H43.66v-2.24h21.87zm0-5.86v1.12H43.66v-2.24h21.87z"/>
3+
</vector>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_orange_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_orange_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_amber_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_amber_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_blue_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_blue_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_blue_grey_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_blue_grey_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_brown_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_brown_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_cyan_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_cyan_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_deep_orange_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_deep_orange_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_deep_purple_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_deep_purple_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/md_green_700"/>
4-
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
3+
<background android:drawable="@color/md_green_700" />
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>

0 commit comments

Comments
 (0)