enabling monocrhome icon for android

This commit is contained in:
Roland Osborne 2023-07-29 23:07:23 -07:00
parent 3dbdd793ab
commit c8408dfaf8
5 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<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="M57,28c-1.4,0.4 -6.1,0.8 -10.6,0.9 -9.4,0.1 -12.1,1.8 -11.1,7 0.6,2.7 0.4,2.9 -3,3.4 -10.8,1.8 -9.1,11.7 2.3,13.6 2.7,0.5 4.1,0.9 3.2,1 -4.6,0.3 -6.2,8.5 -2.9,14.9 3,5.9 5.4,7.6 10,6.9 2.8,-0.3 5.2,0.1 8.1,1.5 2.9,1.5 5,1.8 7.6,1.4 3.7,-0.7 11.4,-6.9 11.4,-9.1 0,-0.7 1.9,-4.1 4.3,-7.6 7.4,-11 8.2,-14.7 4.7,-21.2 -1.1,-2 -2,-4.3 -2,-4.9 -0.1,-2.2 -4.5,-6.4 -8,-7.6 -3.7,-1.3 -10.2,-1.4 -14,-0.2zM65,29.1c0,0.5 -0.5,0.7 -1,0.4 -0.6,-0.4 -3,0.5 -5.3,1.8 -3,1.8 -5.5,2.4 -8.9,2.3 -6.8,-0.2 -6.9,-1.3 -0.1,-1.2 4.3,-0 6.7,-0.6 9.3,-2.2 3.8,-2.4 6,-2.8 6,-1.1zM75,35.5c0.7,0.9 1,1.8 0.7,2.2 -0.8,0.7 -3.7,-1.5 -3.7,-2.8 0,-1.4 1.6,-1.1 3,0.6zM39.5,42c-0.3,0.5 -1.9,1 -3.6,1 -1.6,-0 -2.9,0.4 -2.9,1 0,1.7 4.3,1.1 7.8,-1 4.3,-2.6 5.2,-2.5 1.7,0.1 -3.2,2.6 -10,3.2 -10,0.9 0,-0.9 1.3,-1.7 3.5,-2.1 1.9,-0.4 3.6,-0.7 3.8,-0.8 0.2,-0 0,0.3 -0.3,0.9zM59.3,50c1.4,1.1 3,2 3.5,2 1.5,-0 2.5,5.5 1.7,9 -1.3,6 -6,7.8 -10.2,3.8 -1.3,-1.2 -2.3,-3 -2.3,-4 0,-1 -0.4,-1.8 -1,-1.8 -1.1,-0 -1.3,-5.2 -0.4,-8.8 0.8,-2.9 5.1,-3 8.7,-0.2zM49.2,54.5c-0.2,3 -0.7,5.5 -1.2,5.5 -0.9,-0 -8,-6.6 -8,-7.4 0,-0.3 0.8,-0.6 1.8,-0.6 0.9,-0.1 2.8,-0.7 4.2,-1.5 1.4,-0.8 2.7,-1.4 3,-1.5 0.3,-0 0.3,2.5 0.2,5.5zM73,55.7c-0.1,8.7 -1.5,13.2 -5.3,17.1 -4.5,4.5 -10.4,5.3 -16.2,2.3 -2.6,-1.4 -4.2,-1.8 -4.9,-1.1 -3,3 -8.6,-0.8 -11.5,-7.8 -2.4,-5.8 0.7,-11.6 5.5,-10.3 3,0.8 7,7.1 7.7,12.3 0.2,1.8 0.3,0.9 0.1,-2 -0.1,-2.8 0,-5.2 0.4,-5.2 0.4,-0 2,1.6 3.5,3.5 2.2,2.7 3.5,3.5 6.1,3.5 4.8,-0 7.1,-3 7.3,-9.7 0.1,-4.7 0.5,-5.7 2.5,-6.8 4.3,-2.4 4.8,-1.9 4.8,4.2z"
android:fillColor="#000000"
android:strokeColor="#00000000"/>
</vector>

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="@color/iconBackground"
android:fillType="evenOdd"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>