Skip to content

Commit 6378660

Browse files
Mystery00graycreate
authored andcommitted
feat: 适配Themed Icon
1 parent 0178981 commit 6378660

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="108dp"
3+
android:height="108dp"
4+
android:viewportWidth="930.9091"
5+
android:viewportHeight="930.9091">
6+
<group
7+
android:translateX="209.45454"
8+
android:translateY="209.45454">
9+
<path
10+
android:fillAlpha="1"
11+
android:fillColor="#000000"
12+
android:fillType="nonZero"
13+
android:pathData="M256.365,255.841l-97.757,123.737l97.435,0l98.128,-123.737l-100.578,-122.945l-96.916,0z"
14+
android:strokeWidth="1"
15+
android:strokeColor="#00000000" />
16+
</group>
17+
</vector>

app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@color/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>

0 commit comments

Comments
 (0)