Skip to content

Commit 3ef27b5

Browse files
authored
Merge pull request #279 from mik237/main
updated the launcher icon
2 parents 92ab8db + 8ba8fa0 commit 3ef27b5

16 files changed

+63
-60
lines changed
17.7 KB
Loading

app/src/main/res/drawable-v24/ic_launcher_foreground.xml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,26 @@
1515
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
18-
xmlns:aapt="http://schemas.android.com/aapt"
19-
android:width="108dp"
20-
android:height="108dp"
21-
android:viewportWidth="108"
22-
android:viewportHeight="108">
23-
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
24-
<aapt:attr name="android:fillColor">
25-
<gradient
26-
android:endX="85.84757"
27-
android:endY="92.4963"
28-
android:startX="42.9492"
29-
android:startY="49.59793"
30-
android:type="linear">
31-
<item
32-
android:color="#44000000"
33-
android:offset="0.0" />
34-
<item
35-
android:color="#00000000"
36-
android:offset="1.0" />
37-
</gradient>
38-
</aapt:attr>
39-
</path>
18+
android:width="108dp"
19+
android:height="108dp"
20+
android:viewportWidth="24"
21+
android:viewportHeight="24"
22+
android:tint="#FFFFFF">
23+
<group android:scaleX="0.5452"
24+
android:scaleY="0.5452"
25+
android:translateX="5.4576"
26+
android:translateY="5.4576">
4027
<path
41-
android:fillColor="#FFFFFF"
42-
android:fillType="nonZero"
43-
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
44-
android:strokeWidth="1"
45-
android:strokeColor="#00000000" />
46-
</vector>
28+
android:fillColor="@android:color/white"
29+
android:pathData="M16.49,3c-2.21,0 -4.21,0.9 -5.66,2.34l1.06,1.06c1.18,-1.18 2.8,-1.91 4.59,-1.91s3.42,0.73 4.59,1.91l1.06,-1.06C20.7,3.9 18.7,3 16.49,3z"/>
30+
<path
31+
android:fillColor="@android:color/white"
32+
android:pathData="M20.03,7.46C19.12,6.56 17.87,6 16.49,6s-2.63,0.56 -3.54,1.46l1.06,1.06c0.63,-0.63 1.51,-1.03 2.47,-1.03s1.84,0.39 2.47,1.03L20.03,7.46z"/>
33+
<path
34+
android:fillColor="@android:color/white"
35+
android:pathData="M15.08,9.59L16.49,11l1.41,-1.41C17.54,9.22 17.04,9 16.49,9S15.44,9.22 15.08,9.59z"/>
36+
<path
37+
android:fillColor="@android:color/white"
38+
android:pathData="M15.63,14.4l-2.52,2.5c-2.5,-1.43 -4.57,-3.5 -6,-6l2.5,-2.52c0.23,-0.24 0.33,-0.57 0.27,-0.9L9.13,3.8C9.04,3.34 8.63,3 8.15,3L4,3C3.44,3 2.97,3.47 3,4.03C3.17,6.92 4.05,9.63 5.43,12c1.58,2.73 3.85,4.99 6.57,6.57c2.37,1.37 5.08,2.26 7.97,2.43c0.56,0.03 1.03,-0.44 1.03,-1l0,-4.15c0,-0.48 -0.34,-0.89 -0.8,-0.98l-3.67,-0.73C16.2,14.07 15.86,14.17 15.63,14.4z"/>
39+
</group>
40+
</vector>

app/src/main/res/drawable/ic_launcher_foreground.xml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,26 @@
1515
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
18-
xmlns:aapt="http://schemas.android.com/aapt"
1918
android:width="108dp"
2019
android:height="108dp"
21-
android:viewportWidth="108"
22-
android:viewportHeight="108">
20+
android:viewportWidth="24"
21+
android:viewportHeight="24"
22+
android:tint="#FFFFFF">
23+
<group android:scaleX="0.5452"
24+
android:scaleY="0.5452"
25+
android:translateX="5.4576"
26+
android:translateY="5.4576">
2327
<path
24-
android:fillType="evenOdd"
25-
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
26-
android:strokeWidth="1"
27-
android:strokeColor="#00000000">
28-
<aapt:attr name="android:fillColor">
29-
<gradient
30-
android:endX="78.5885"
31-
android:endY="90.9159"
32-
android:startX="48.7653"
33-
android:startY="61.0927"
34-
android:type="linear">
35-
<item
36-
android:color="#44000000"
37-
android:offset="0.0" />
38-
<item
39-
android:color="#00000000"
40-
android:offset="1.0" />
41-
</gradient>
42-
</aapt:attr>
43-
</path>
28+
android:fillColor="@android:color/white"
29+
android:pathData="M16.49,3c-2.21,0 -4.21,0.9 -5.66,2.34l1.06,1.06c1.18,-1.18 2.8,-1.91 4.59,-1.91s3.42,0.73 4.59,1.91l1.06,-1.06C20.7,3.9 18.7,3 16.49,3z"/>
4430
<path
45-
android:fillColor="#FFFFFF"
46-
android:fillType="nonZero"
47-
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
48-
android:strokeWidth="1"
49-
android:strokeColor="#00000000" />
31+
android:fillColor="@android:color/white"
32+
android:pathData="M20.03,7.46C19.12,6.56 17.87,6 16.49,6s-2.63,0.56 -3.54,1.46l1.06,1.06c0.63,-0.63 1.51,-1.03 2.47,-1.03s1.84,0.39 2.47,1.03L20.03,7.46z"/>
33+
<path
34+
android:fillColor="@android:color/white"
35+
android:pathData="M15.08,9.59L16.49,11l1.41,-1.41C17.54,9.22 17.04,9 16.49,9S15.44,9.22 15.08,9.59z"/>
36+
<path
37+
android:fillColor="@android:color/white"
38+
android:pathData="M15.63,14.4l-2.52,2.5c-2.5,-1.43 -4.57,-3.5 -6,-6l2.5,-2.52c0.23,-0.24 0.33,-0.57 0.27,-0.9L9.13,3.8C9.04,3.34 8.63,3 8.15,3L4,3C3.44,3 2.97,3.47 3,4.03C3.17,6.92 4.05,9.63 5.43,12c1.58,2.73 3.85,4.99 6.57,6.57c2.37,1.37 5.08,2.26 7.97,2.43c0.56,0.03 1.03,-0.44 1.03,-1l0,-4.15c0,-0.48 -0.34,-0.89 -0.8,-0.98l-3.67,-0.73C16.2,14.07 15.86,14.17 15.63,14.4z"/>
39+
</group>
5040
</vector>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
limitations under the License.
1616
-->
1717
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
18-
<background android:drawable="@drawable/ic_launcher_background" />
19-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
18+
<background android:drawable="@color/ic_launcher_background"/>
19+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
2020
</adaptive-icon>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
limitations under the License.
1616
-->
1717
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
18-
<background android:drawable="@drawable/ic_launcher_background" />
19-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
18+
<background android:drawable="@color/ic_launcher_background"/>
19+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
2020
</adaptive-icon>
108 Bytes
Loading
362 Bytes
Loading
-62 Bytes
Loading
324 Bytes
Loading
126 Bytes
Loading

0 commit comments

Comments
 (0)