Skip to content

Commit ac10990

Browse files
committed
use correct icon scaling
1 parent 54a2881 commit ac10990

File tree

8 files changed

+22
-5
lines changed

8 files changed

+22
-5
lines changed

β€Žapp/src/main/res/drawable/ic_launcher_foreground.xmlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
android:height="108dp"
55
android:viewportWidth="256"
66
android:viewportHeight="256">
7-
<group android:scaleX="0.3"
8-
android:scaleY="0.3"
9-
android:translateX="89.6"
10-
android:translateY="89.6">
7+
<group android:scaleX="0.24"
8+
android:scaleY="0.24"
9+
android:translateX="97.28"
10+
android:translateY="97.28">
1111
<path
1212
android:pathData="M250.09,13.49C251.39,10.51 251.11,7.08 249.33,4.36C247.55,1.64 244.52,0 241.27,0L228.81,0C226.08,0 223.61,1.62 222.51,4.11C211.54,29.1 153.63,160.99 134.29,205.04C133.2,207.54 130.73,209.15 128,209.15C125.27,209.15 122.8,207.54 121.7,205.04C102.36,160.99 44.46,29.1 33.49,4.11C32.39,1.62 29.92,0 27.19,0L14.73,0C11.48,0 8.45,1.64 6.67,4.36C4.89,7.08 4.61,10.51 5.91,13.49C26.64,60.8 95.56,218.1 109.63,250.24C111.17,253.74 114.63,256 118.45,256L137.55,256C141.37,256 144.83,253.74 146.36,250.24C160.44,218.1 229.36,60.8 250.09,13.49Z"
1313
android:fillColor="#ffffff"/>
Lines changed: 17 additions & 0 deletions
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="256"
5+
android:viewportHeight="256">
6+
<group android:scaleX="0.3"
7+
android:scaleY="0.3"
8+
android:translateX="89.6"
9+
android:translateY="89.6">
10+
<path
11+
android:fillColor="#ff000000"
12+
android:pathData="M250.09,13.49C251.39,10.51 251.11,7.08 249.33,4.36C247.55,1.64 244.52,0 241.27,0L228.81,0C226.08,0 223.61,1.62 222.51,4.11C211.54,29.1 153.63,160.99 134.29,205.04C133.2,207.54 130.73,209.15 128,209.15C125.27,209.15 122.8,207.54 121.7,205.04C102.36,160.99 44.46,29.1 33.49,4.11C32.39,1.62 29.92,0 27.19,0L14.73,0C11.48,0 8.45,1.64 6.67,4.36C4.89,7.08 4.61,10.51 5.91,13.49C26.64,60.8 95.56,218.1 109.63,250.24C111.17,253.74 114.63,256 118.45,256L137.55,256C141.37,256 144.83,253.74 146.36,250.24C160.44,218.1 229.36,60.8 250.09,13.49Z"/>
13+
<path
14+
android:fillColor="#ff000000"
15+
android:pathData="M135.14,123.87C133.67,126.43 130.94,128 128,128C125.05,128 122.33,126.43 120.85,123.87C105.89,97.97 71.44,38.28 56.48,12.37C55,9.82 55,6.68 56.48,4.12C57.95,1.57 60.68,-0 63.62,-0L192.37,-0C195.32,-0 198.04,1.57 199.52,4.12C200.99,6.68 200.99,9.82 199.52,12.37C184.56,38.28 150.1,97.97 135.14,123.87Z"/>
16+
</group>
17+
</vector>

β€Žapp/src/main/res/mipmap-anydpi/ic_launcher.xmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +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_foreground"/>
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
66
</adaptive-icon>
145 Bytes
Loading
44 Bytes
Loading
223 Bytes
Loading
565 Bytes
Loading
1010 Bytes
Loading

0 commit comments

Comments
Β (0)