Skip to content

Commit c52981a

Browse files
committed
adding support for monochrome icon on Android 13+
1 parent 6bf3b12 commit c52981a

20 files changed

+61
-38
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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:fillType="evenOdd" android:pathData="M35.96 42.14h36.3v22.69h-36.3zm-0.34-4.53H72.5c2.31 0 4.2 1.89 4.2 4.2v23.36c0 2.31-1.89 4.2-4.2 4.2H35.62c-2.31 0-4.2-1.89-4.2-4.2V41.81c0-2.31 1.89-4.2 4.2-4.2z"/>
3+
<path android:fillColor="#FFFFFFFF" android:pathData="M42.72 44.37h-4.54V49h4.54zm6.85 0h-4.54V49h4.54zm6.78 0h-4.54V49h4.54zm6.82 0h-4.54V49h4.54zm6.78 0h-4.54V49h4.54zm-27.23 6.85h-4.54v4.63h4.54zm6.85 0h-4.54v4.63h4.54zm13.61 6.76h-18.2v4.63h18.19zm-0.01-6.76h-4.54v4.63h4.54zm6.78 0h-4.54v4.63h4.54zm-13.6 0h-4.54v4.63h4.54z"/>
4+
</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)