Merge branch 'adaptive-icon' into 'master'

Add Android 13 Themed Icons support

See merge request nkming2/nc-photos!67
This commit is contained in:
ming 2023-03-25 17:57:56 +00:00
commit 32447a310d
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="28.575"
android:viewportHeight="28.575">
<path
android:pathData="M14.3,10.253C12.545,10.253 11.057,11.442 10.596,13.054C10.196,12.199 9.327,11.6 8.327,11.6C6.952,11.6 5.821,12.731 5.821,14.107C5.821,14.168 5.824,14.228 5.828,14.288L22.747,14.288C22.751,14.228 22.754,14.168 22.754,14.107C22.754,12.731 21.623,11.6 20.247,11.6C19.261,11.6 18.404,12.183 17.996,13.018C17.523,11.424 16.043,10.253 14.3,10.253z"
android:strokeLineJoin="miter"
android:strokeWidth="0.82753"
android:fillColor="#8bc34a"
android:strokeColor="#00000000"
android:fillType="nonZero"
android:fillAlpha="0.85337776"
android:strokeLineCap="butt"/>
<path
android:pathData="M0,14.288h28.575v14.288h-28.575z"
android:strokeLineJoin="round"
android:strokeWidth="0.577814"
android:fillColor="#0082c9"
android:fillAlpha="0.6"
android:strokeColor="#00000000"
android:strokeLineCap="round"/>
</vector>

View file

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>