adding monochrome icon support on Android 13+

This commit is contained in:
tibbi 2022-08-17 21:37:03 +02:00
parent 480f88a732
commit 6a4b841eb1
3 changed files with 6 additions and 18 deletions

View File

@ -1,16 +0,0 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillColor="#FFFFFF"
android:pathData="m53.8,31.52c-13.13,0 -23.78,10.65 -23.78,23.78 0,13.13 10.65,23.78 23.78,23.78 13.13,0 23.78,-10.65 23.78,-23.78 0,-13.13 -10.77,-23.78 -23.78,-23.78zM53.8,74.47c-10.53,0 -19.17,-8.64 -19.17,-19.17 0,-10.53 8.64,-19.17 19.17,-19.17 10.53,0 19.17,8.64 19.17,19.17 0,10.53 -8.64,19.17 -19.17,19.17z"/>
<path
android:fillColor="#FFFFFF"
android:pathData="m53.8,39.21c-8.87,0 -16.09,7.22 -16.09,16.09 0,8.87 7.22,16.09 16.09,16.09 8.87,0 16.09,-7.22 16.09,-16.09 0,-8.87 -7.34,-16.09 -16.09,-16.09zM53.8,66.78c-6.27,0 -11.48,-5.09 -11.48,-11.48 0,-6.39 5.09,-11.48 11.48,-11.48 6.27,0 11.48,5.09 11.48,11.48 0,6.39 -5.21,11.48 -11.48,11.48z"/>
<path
android:fillColor="#FFFFFF"
android:pathData="m53.8,47.61c-4.26,0 -7.69,3.43 -7.69,7.69 0,4.26 3.43,7.69 7.69,7.69 4.26,0 7.69,-3.43 7.69,-7.69 0,-4.26 -3.55,-7.69 -7.69,-7.69zM53.8,58.38c-1.66,0 -3.08,-1.42 -3.08,-3.08 0,-1.66 1.42,-3.08 3.08,-3.08 1.66,0 3.08,1.42 3.08,3.08C56.76,56.96 55.46,58.38 53.8,58.38Z"/>
</vector>

View File

@ -0,0 +1,3 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="108dp" android:height="108dp" android:viewportWidth="108" android:viewportHeight="108">
<path android:fillColor="#FFFFFFFF" android:pathData="M54.27 28.37c-0.18 0-0.34 0.05-0.48 0.13-0.22 0.1-0.36 0.26-0.44 0.54 0 0.01-0.01 0.02-0.01 0.04-0.01 0.06-0.03 0.12-0.04 0.18 0 0.02-0.01 0.03-0.01 0.05v0.09c-0.02 0.12-0.03 0.23-0.04 0.38-0.08 1.01-0.05 4.28 0.04 5.02 0.01 0.14 0.07 0.27 0.14 0.38 0.05 0.11 0.12 0.21 0.23 0.3 0.17 0.15 0.41 0.19 0.66 0.19 0.25 0.01 0.48-0.04 0.66-0.19 0.1-0.09 0.17-0.19 0.23-0.3 0.07-0.11 0.13-0.24 0.14-0.38 0.01-0.1 0.02-0.34 0.03-0.52 0.06-1.16 0.07-3.62 0.01-4.49-0.01-0.15-0.03-0.26-0.04-0.38v-0.09c0-0.01-0.01-0.03-0.01-0.05-0.01-0.07-0.03-0.13-0.04-0.19 0-0.01 0-0.02-0.01-0.03-0.08-0.29-0.22-0.45-0.44-0.55-0.15-0.08-0.31-0.13-0.51-0.12h-0.03zm-6.88 3.2c-0.69 0.11-1.09 0.64-0.93 1.26 0.15 0.6 1.68 3.26 2.17 3.76 0.23 0.24 0.34 0.31 0.57 0.33 0.51 0.06 0.95-0.37 1.03-0.53 0.24-0.46 0.19-0.71 0.01-1.11-0.55-1.16-1.56-2.82-1.91-3.25-0.3-0.37-0.61-0.52-0.94-0.47zm13.82 0c-0.33-0.05-0.64 0.11-0.94 0.47-0.35 0.43-1.37 2.1-1.91 3.25-0.19 0.39-0.23 0.64 0 1.11 0.08 0.16 0.52 0.59 1.03 0.53 0.23-0.03 0.35-0.1 0.58-0.33 0.48-0.51 2.01-3.17 2.16-3.76 0.16-0.62-0.23-1.15-0.92-1.26zm-7.03 7.2c-0.26 0-0.52 0.01-0.78 0.02s-0.51 0.01-0.77 0.02c-0.33 0.02-0.66 0.05-0.99 0.07-0.21 0.02-0.43 0.03-0.64 0.05-0.47 0.05-0.93 0.11-1.38 0.18-0.04 0.01-0.09 0.01-0.14 0.02-0.59 0.09-1.17 0.2-1.71 0.33-0.47 0.11-0.91 0.25-1.34 0.41-0.3 0.1-0.56 0.21-0.81 0.32-0.01 0-0.01 0.01-0.02 0.01-0.96 0.43-1.58 0.92-1.8 1.45-0.03 0.06-0.04 0.15-0.05 0.23 0 0.01-0.01 0.02-0.01 0.03v0.04c-0.01 0.08-0.02 0.18-0.02 0.29 0 0.08-0.01 0.14 0 0.23 0 0.11 0.02 0.24 0.03 0.37 0.05 0.6 0.17 1.34 0.34 2 0.28 1.1 0.71 2.07 1.31 3.05 0.36 0.61 0.73 1.13 1.16 1.61 0 0 0 0.01 0.01 0.01l0.33 0.36c0.46 0.49 0.97 0.92 1.62 1.38 0.06 0.04 0.1 0.08 0.16 0.13l0.64 0.47c0 0.02-0.04 0.18-0.09 0.38-0.05 0.19-0.08 0.46-0.11 0.88v0.04c-0.03 0.55-0.06 1.38-0.08 2.83-0.11 6.82-0.05 18.83 0.09 20.06 0.01 0.07 0.03 0.15 0.05 0.22 0.01 0.03 0.01 0.05 0.02 0.08 0.02 0.1 0.05 0.2 0.08 0.31 0.04 0.12 0.08 0.24 0.14 0.36 0.05 0.12 0.11 0.24 0.17 0.36 0.15 0.29 0.32 0.57 0.51 0.81 0.06 0.07 0.13 0.14 0.19 0.21 0.01 0.01 0.02 0.03 0.04 0.04 0.54 0.59 1.31 1.16 1.98 1.43 0.64 0.26 1.31 0.38 1.98 0.38 0.67 0 1.35-0.12 1.98-0.38 0.68-0.27 1.46-0.86 2.01-1.46 0.07-0.07 0.14-0.15 0.2-0.22 0.19-0.25 0.36-0.53 0.51-0.82 0.06-0.12 0.12-0.24 0.17-0.36 0.05-0.12 0.1-0.24 0.14-0.36 0.04-0.11 0.06-0.21 0.08-0.31 0.01-0.03 0.01-0.05 0.02-0.08 0.02-0.07 0.04-0.15 0.05-0.22 0.15-1.23 0.2-13.23 0.09-20.06-0.02-1.43-0.04-2.25-0.08-2.81v-0.04c0-0.02-0.01-0.05-0.01-0.07-0.03-0.38-0.06-0.65-0.1-0.83-0.05-0.2-0.09-0.35-0.09-0.38l0.64-0.47c0.06-0.04 0.1-0.08 0.15-0.12 0.66-0.46 1.16-0.89 1.62-1.38 0.11-0.12 0.23-0.24 0.33-0.36 0 0 0-0.01 0.01-0.01 0.43-0.49 0.8-1.01 1.17-1.63 0.6-0.97 1.02-1.94 1.3-3.03 0.17-0.66 0.29-1.42 0.35-2.02 0.01-0.12 0.02-0.24 0.03-0.34v-0.23c0-0.1-0.01-0.2-0.02-0.29v-0.04c0-0.01-0.01-0.02-0.01-0.03-0.02-0.08-0.03-0.17-0.05-0.23-0.22-0.53-0.85-1.03-1.81-1.46-0.25-0.11-0.52-0.22-0.82-0.32-0.42-0.15-0.87-0.3-1.34-0.41-0.54-0.13-1.12-0.24-1.71-0.33-0.04-0.01-0.09-0.01-0.14-0.02-0.45-0.07-0.91-0.13-1.38-0.18-0.21-0.02-0.43-0.03-0.64-0.05-0.33-0.03-0.65-0.06-0.99-0.07-0.25-0.01-0.51-0.02-0.77-0.02-0.3-0.01-0.59-0.02-0.89-0.02h-0.12zm-0.37 1.75h0.98c0.44 0.01 0.89 0.03 1.34 0.05 0.8 0.05 1.49 0.11 2.14 0.2 0.16 0.02 0.31 0.04 0.47 0.07 0.13 0.02 0.25 0.04 0.37 0.06 0.32 0.06 0.64 0.12 0.95 0.19 0.01 0 0.02 0.01 0.04 0.01 0.7 0.16 1.35 0.36 1.94 0.58 0.38 0.15 0.63 0.28 0.68 0.37l-0.06 0.05c-0.15 0.12-0.35 0.23-0.6 0.35-0.33 0.12-0.77 0.26-1.35 0.41-0.37 0.1-0.69 0.18-1 0.25-0.39 0.08-0.8 0.15-1.25 0.22-0.44 0.07-0.87 0.11-1.29 0.16-0.22 0.02-0.43 0.04-0.68 0.05-0.58 0.03-1.12 0.06-1.64 0.07h-1.06c-0.52-0.01-1.06-0.03-1.64-0.07-0.25-0.02-0.46-0.03-0.68-0.05-0.43-0.04-0.85-0.09-1.29-0.16-0.45-0.07-0.86-0.14-1.25-0.22-0.31-0.07-0.63-0.15-1-0.25-0.58-0.16-1.01-0.29-1.35-0.41-0.25-0.11-0.45-0.23-0.6-0.35l-0.06-0.05c0.05-0.09 0.3-0.22 0.68-0.37 0.59-0.22 1.24-0.42 1.94-0.58 0.01 0 0.02-0.01 0.04-0.01 0.31-0.07 0.63-0.13 0.95-0.19 0.12-0.02 0.24-0.04 0.37-0.06 0.15-0.02 0.31-0.05 0.47-0.07 0.64-0.08 1.33-0.15 2.14-0.2 0.45-0.03 0.9-0.04 1.34-0.05zm0.49 15.49c0.04 0 0.07 0 0.11 0.01 0.08 0 0.16 0.01 0.23 0.02 0.32 0.05 0.61 0.17 0.83 0.35 0.25 0.2 0.52 0.59 0.65 0.89 0.13 0.46 0.2 2.28 0.12 3.33-0.08 0.96-0.56 1.62-1.37 1.86-0.17 0.05-0.37 0.08-0.57 0.09-0.2-0.01-0.4-0.03-0.57-0.09-0.8-0.24-1.29-0.9-1.37-1.86-0.08-1.05-0.02-2.87 0.11-3.33 0.12-0.3 0.4-0.69 0.65-0.89 0.22-0.18 0.52-0.3 0.83-0.35 0.08-0.01 0.16-0.02 0.23-0.02 0.04 0 0.07-0.01 0.11-0.01z"/>
</vector>

View File

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