Skip to content

Commit 9220666

Browse files
committed
fix: use new logo design for adaptive icon with proper structure
- Restore the original adaptive icon structure with white background rectangle - Use the new V logo from logo_svg.xml instead of old design - Properly scale and center the logo within the 108dp canvas - White background (#FFFFFF) provides better contrast than light gray - Monochrome icon updated for Android 13+ themed icon support
1 parent 36b0465 commit 9220666

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
android:height="108dp"
44
android:viewportWidth="108"
55
android:viewportHeight="108">
6+
<!-- White background rectangle in center -->
7+
<path
8+
android:fillColor="#FFFFFF"
9+
android:pathData="M27,27h54v54h-54z" />
10+
<!-- New V logo group scaled and centered -->
611
<group
7-
android:scaleX="0.3"
8-
android:scaleY="0.3"
9-
android:translateX="21.6"
10-
android:translateY="21.6">
12+
android:scaleX="0.04"
13+
android:scaleY="0.04"
14+
android:translateX="30"
15+
android:translateY="30">
1116
<path
1217
android:pathData="M480.859,520.767C486.88,504.294 483.548,489.658 473.18,476.663C451.429,449.4 429.349,422.4 407.406,395.29C370.115,349.215 332.857,303.113 295.504,257.088C289.433,249.607 286.667,241.349 288.655,231.887C291.203,219.755 301.661,211.145 314.474,211.122C377.739,211 441.006,210.872 504.27,211.25C519.537,211.341 531.854,218.846 541.463,230.737C578.15,276.134 614.877,321.499 651.591,366.874C674.322,394.968 697.004,423.1 719.804,451.138C745.329,482.526 745.544,526.965 719.577,561.007C698.98,588.011 677.793,614.566 656.783,641.254C619.791,688.242 582.734,735.179 545.705,782.138C545.481,782.422 545.252,782.704 545.058,783.008C530.88,805.232 510.818,813.54 484.414,812.973C428.043,811.763 371.628,812.573 315.231,812.615C308.17,812.621 301.574,811.212 295.753,807.12C282.386,797.721 280.036,780.463 290.691,765.962C299.673,753.736 309.315,741.993 318.702,730.065C370.103,664.748 421.516,599.44 472.922,534.126C476.065,530.134 478.821,525.907 480.859,520.767Z"
1318
android:fillColor="@color/splash_logo_color" />

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
android:viewportWidth="108"
55
android:viewportHeight="108">
66
<group
7-
android:scaleX="0.3"
8-
android:scaleY="0.3"
9-
android:translateX="21.6"
10-
android:translateY="21.6">
7+
android:scaleX="0.05"
8+
android:scaleY="0.05"
9+
android:translateX="27"
10+
android:translateY="27">
1111
<path
1212
android:pathData="M480.859,520.767C486.88,504.294 483.548,489.658 473.18,476.663C451.429,449.4 429.349,422.4 407.406,395.29C370.115,349.215 332.857,303.113 295.504,257.088C289.433,249.607 286.667,241.349 288.655,231.887C291.203,219.755 301.661,211.145 314.474,211.122C377.739,211 441.006,210.872 504.27,211.25C519.537,211.341 531.854,218.846 541.463,230.737C578.15,276.134 614.877,321.499 651.591,366.874C674.322,394.968 697.004,423.1 719.804,451.138C745.329,482.526 745.544,526.965 719.577,561.007C698.98,588.011 677.793,614.566 656.783,641.254C619.791,688.242 582.734,735.179 545.705,782.138C545.481,782.422 545.252,782.704 545.058,783.008C530.88,805.232 510.818,813.54 484.414,812.973C428.043,811.763 371.628,812.573 315.231,812.615C308.17,812.621 301.574,811.212 295.753,807.12C282.386,797.721 280.036,780.463 290.691,765.962C299.673,753.736 309.315,741.993 318.702,730.065C370.103,664.748 421.516,599.44 472.922,534.126C476.065,530.134 478.821,525.907 480.859,520.767Z"
13-
android:fillColor="@color/splash_logo_color" />
13+
android:fillColor="#000000"
14+
android:fillAlpha="1" />
1415
</group>
1516
</vector>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="ic_launcher_background">#EEEEEE</color>
3+
<color name="ic_launcher_background">#FFFFFF</color>
44
</resources>

0 commit comments

Comments
 (0)