Skip to content

Commit 9b9b88d

Browse files
committed
refactor: Add launcher icon
1 parent 462bbcc commit 9b9b88d

File tree

16 files changed

+108
-0
lines changed

16 files changed

+108
-0
lines changed

sample/android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<application
77
android:name=".YChatApplication"
88
android:allowBackup="true"
9+
android:icon="@mipmap/ic_launcher"
910
android:label="@string/app_name"
1011
android:supportsRtl="true"
1112
android:theme="@style/AppTheme">
13.6 KB
Loading
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<vector
3+
android:height="108dp"
4+
android:width="108dp"
5+
android:viewportHeight="108"
6+
android:viewportWidth="108"
7+
xmlns:android="http://schemas.android.com/apk/res/android">
8+
<path android:fillColor="#3DDC84"
9+
android:pathData="M0,0h108v108h-108z"/>
10+
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
11+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
12+
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
13+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
14+
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
15+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
16+
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
17+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
18+
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
19+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
20+
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
21+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
22+
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
23+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
24+
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
25+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
26+
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
27+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
28+
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
29+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
30+
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
31+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
32+
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
33+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
34+
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
35+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
36+
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
37+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
38+
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
39+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
40+
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
41+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
42+
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
43+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
44+
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
45+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
46+
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
47+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
48+
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
49+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
50+
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
51+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
52+
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
53+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
54+
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
55+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
56+
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
57+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
58+
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
59+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
60+
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
61+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
62+
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
63+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
64+
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
65+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
66+
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
67+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
68+
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
69+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
70+
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
71+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
72+
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
73+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
74+
</vector>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="108dp"
3+
android:height="108dp"
4+
android:viewportWidth="108"
5+
android:viewportHeight="108">
6+
<group android:scaleX="0.9"
7+
android:scaleY="0.9">
8+
<path
9+
android:pathData="M0,0h120v120h-120z"
10+
android:fillColor="#000000"/>
11+
<path
12+
android:pathData="M42.87,59.46C43.81,59.46 44.7,59.6 45.54,59.88C46.37,60.15 47.12,60.54 47.77,61.05C48.42,61.57 48.97,62.19 49.4,62.93C49.84,63.67 50.14,64.49 50.27,65.41L46.91,65.7C46.69,64.59 46.21,63.75 45.47,63.18C44.75,62.61 43.85,62.32 42.76,62.32C42.08,62.32 41.45,62.45 40.88,62.7C40.33,62.94 39.85,63.28 39.44,63.72C39.05,64.17 38.75,64.71 38.53,65.35C38.32,65.99 38.21,66.71 38.21,67.5C38.21,68.35 38.33,69.09 38.57,69.73C38.8,70.37 39.12,70.91 39.53,71.36C39.94,71.79 40.43,72.12 40.99,72.34C41.54,72.56 42.14,72.67 42.78,72.67C43.85,72.67 44.76,72.4 45.5,71.84C46.23,71.27 46.71,70.44 46.91,69.36L50.3,69.65C50.14,70.57 49.84,71.39 49.4,72.11C48.97,72.83 48.42,73.45 47.77,73.97C47.13,74.47 46.39,74.86 45.56,75.14C44.72,75.4 43.83,75.53 42.89,75.53C41.75,75.53 40.69,75.35 39.71,74.99C38.74,74.62 37.9,74.09 37.19,73.41C36.48,72.71 35.92,71.87 35.52,70.88C35.13,69.88 34.94,68.75 34.94,67.5C34.94,66.23 35.13,65.11 35.52,64.12C35.92,63.12 36.48,62.27 37.19,61.59C37.9,60.9 38.73,60.37 39.69,60.01C40.67,59.65 41.73,59.46 42.87,59.46ZM55.7,65.43C55.94,65.14 56.27,64.88 56.71,64.66C57.15,64.42 57.73,64.31 58.44,64.31C59.06,64.31 59.63,64.4 60.15,64.6C60.66,64.79 61.1,65.08 61.46,65.45C61.84,65.83 62.13,66.3 62.34,66.85C62.55,67.39 62.65,68.01 62.65,68.71V75.3H59.61V69.29C59.61,68.6 59.43,68.07 59.09,67.71C58.75,67.33 58.29,67.14 57.71,67.14C57.1,67.14 56.61,67.35 56.25,67.75C55.89,68.14 55.7,68.66 55.7,69.31V75.3H52.66V59.09H55.7V65.43ZM69.73,64.31C71.19,64.31 72.31,64.67 73.07,65.41C73.84,66.14 74.22,67.21 74.22,68.65V75.3H71.28V74.43C70.97,74.75 70.59,75.01 70.13,75.22C69.68,75.43 69.15,75.53 68.52,75.53C67.44,75.53 66.57,75.26 65.91,74.72C65.26,74.18 64.93,73.38 64.93,72.34C64.93,71.74 65.05,71.24 65.29,70.84C65.52,70.42 65.84,70.09 66.23,69.84C66.63,69.59 67.09,69.41 67.6,69.29C68.13,69.17 68.68,69.09 69.25,69.06L71.17,68.96V68.54C71.17,67.43 70.71,66.87 69.78,66.87C69.25,66.87 68.86,67.02 68.63,67.31C68.39,67.6 68.27,67.93 68.27,68.29L65.23,68.17C65.23,67.69 65.33,67.23 65.54,66.77C65.75,66.31 66.05,65.9 66.44,65.54C66.83,65.16 67.3,64.86 67.86,64.64C68.41,64.42 69.04,64.31 69.73,64.31ZM69.55,71.07C69.09,71.1 68.71,71.19 68.42,71.36C68.13,71.53 67.98,71.81 67.98,72.19C67.98,72.56 68.1,72.81 68.33,72.97C68.57,73.11 68.87,73.18 69.23,73.18C69.79,73.18 70.25,73.03 70.61,72.74C70.99,72.45 71.17,72.01 71.17,71.42V70.96L69.55,71.07ZM80.85,71.15C80.85,71.75 81.01,72.17 81.33,72.42C81.66,72.66 82.05,72.78 82.48,72.78C82.7,72.78 82.88,72.77 83.02,72.76C83.17,72.73 83.3,72.7 83.42,72.67V75.39C83.19,75.42 82.96,75.44 82.71,75.47C82.47,75.5 82.14,75.51 81.73,75.51C81.14,75.51 80.61,75.44 80.12,75.3C79.63,75.15 79.21,74.93 78.87,74.64C78.53,74.34 78.27,73.97 78.07,73.51C77.89,73.05 77.8,72.51 77.8,71.88L77.82,67.14H75.86V64.51H77.84L77.86,60.95H80.91L80.89,64.51H83.42V67.14H80.87L80.85,71.15Z"
13+
android:fillColor="#ffffff"/>
14+
<path
15+
android:pathData="M50.24,48.26L71.15,48.26"
16+
android:strokeWidth="2.6087"
17+
android:fillColor="#00000000"
18+
android:strokeColor="#ffffff"/>
19+
<path
20+
android:pathData="M43.3,54.43H40.09V48.42L34.16,38.82H37.9L41.68,45.23L45.45,38.82H49.21L43.3,48.42V54.43Z"
21+
android:fillColor="#ffffff"/>
22+
</group>
23+
</vector>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@drawable/ic_launcher_background"/>
4+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@drawable/ic_launcher_background"/>
4+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
5+
</adaptive-icon>
1.68 KB
Loading
3 KB
Loading
1.1 KB
Loading
1.91 KB
Loading

0 commit comments

Comments
 (0)