Skip to content

Unofficial YouTube Music / Spotify Premium client for Android, built in Liquid Glass. Audio effects, Spotify Connect, listening history, 8 languages. Rust core on librespot.

Fit the wave inside the adaptive icon's safe zone

Leloniob17bdd5f4db2
diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index ca4b190..7f3c33b 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -128,7 +128,8 @@
"Bash(git commit -q -m 'Hold the cover until the Canvas has a frame *)",
"Bash(git commit -q -m 'Darken the Canvas while paused *)",
"Bash(git commit -q -m 'One panel for everything the player shows, dimmed alike *)",
- "Bash(git commit -q -m 'Square: a square-wave icon, light and dark *)"
+ "Bash(git commit -q -m 'Square: a square-wave icon, light and dark *)",
+ "Bash(git commit -q -m 'Fit the wave inside the adaptive icon'\\\\''s safe zone *)"
]
}
}
diff --git a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin
index 1d9a513..56da76f 100644
--- a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin
+++ b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin
@@ -2,27 +2,27 @@ C/C++ Structured Logl
j
h/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/additional_project_files.txtC
A
-?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  �����3  ����3i
+?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ����3  ����3i
g
-e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build.json  �����3� ����3n
+e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build.json  ����3� ����3n
l
-j/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build_mini.json  �����3� �����3[
+j/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build_mini.json  ����3� �����3[
Y
-W/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja  �����3�� ����3_
+W/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja  ����3�� ����3_
]
-[/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja.txt  �����3d
+[/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja.txt  ����3d
b
-`/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build_file_index.txt  �����3 @ ����3e
+`/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build_file_index.txt  ����3 @ ����3e
c
-a/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json  �����3�� ����3i
+a/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json  ����3�� ����3i
g
-e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json.bin  �����3 �" ����3o
+e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json.bin  ����3 �" ����3o
m
-k/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/metadata_generation_command.txt  �����3
+k/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/metadata_generation_command.txt  ����3
� ����3b
`
-^/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/prefab_config.json  �����3  ( ����3g
+^/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/prefab_config.json  ����3  ( ����3g
e
-c/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/symbol_folder_index.txt  �����3  b ����3D
+c/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/symbol_folder_index.txt  ����3  b ����3D
B
-@/Users/emanuele/Progetto Spotify/app/src/main/cpp/CMakeLists.txt  �����3 � �Ȅ��3
\ No newline at end of file
+@/Users/emanuele/Progetto Spotify/app/src/main/cpp/CMakeLists.txt  ����3 � �Ȅ��3
\ No newline at end of file
diff --git a/app/src/main/res/drawable-night/ic_launcher_foreground.xml b/app/src/main/res/drawable-night/ic_launcher_foreground.xml
index 724f6b6..b5a0e51 100644
--- a/app/src/main/res/drawable-night/ic_launcher_foreground.xml
+++ b/app/src/main/res/drawable-night/ic_launcher_foreground.xml
@@ -3,7 +3,7 @@
The lip goes dark here for the same reason it is light on the pale plate — it
is the shadowed side of the same edge, and which side that is depends on what
- the plate is made of.
+ the plate is made of. Sized to the safe zone; see the light version.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
@@ -13,17 +13,17 @@
<path
android:fillColor="#00000000"
- android:pathData="M22,59 L22,37 L56,37 L56,73 L86,73 L86,53"
+ android:pathData="M28,59 L28,41 L54,41 L54,69 L80,69 L80,53"
android:strokeColor="#59000000"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
- android:strokeWidth="11" />
+ android:strokeWidth="9" />
<path
android:fillColor="#00000000"
- android:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
+ android:pathData="M28,58 L28,40 L54,40 L54,68 L80,68 L80,52"
android:strokeColor="#FFEDEDF0"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
- android:strokeWidth="11" />
+ android:strokeWidth="9" />
</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml
index 4fb3460..59adcbb 100644
--- a/app/src/main/res/drawable/ic_launcher_foreground.xml
+++ b/app/src/main/res/drawable/ic_launcher_foreground.xml
@@ -5,9 +5,12 @@
stay square and the two open ends round, and a stroke with a round cap and a
mitre join is exactly that, at any size, with no hinting.
- Three strokes, back to front: a light one offset down for the lip the plate
- catches, then the black wave over it. That is the whole of the depth in the
- original — there is no bevel to reproduce, only an edge.
+ Sized to the safe zone, which is the part of this file worth knowing about. An
+ adaptive icon is 108 units wide, of which the launcher shows 72 and guarantees
+ only the middle 66 — the rest is what it crops into when the icon is masked or
+ parallaxed. The first version drew the wave 64 wide with an 11-wide stroke, so
+ its ends sat outside that window and the launcher cut them off. Everything here
+ stays within 23 and 85.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
@@ -15,20 +18,20 @@
android:viewportWidth="108"
android:viewportHeight="108">
- <!-- The lip: the same path, a shade lighter and a pixel lower. -->
+ <!-- The lip: the same path, a shade lighter and a unit lower. -->
<path
android:fillColor="#00000000"
- android:pathData="M22,59 L22,37 L56,37 L56,73 L86,73 L86,53"
+ android:pathData="M28,59 L28,41 L54,41 L54,69 L80,69 L80,53"
android:strokeColor="#4DFFFFFF"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
- android:strokeWidth="11" />
+ android:strokeWidth="9" />
<path
android:fillColor="#00000000"
- android:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
+ android:pathData="M28,58 L28,40 L54,40 L54,68 L80,68 L80,52"
android:strokeColor="#FF1B1B1F"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
- android:strokeWidth="11" />
+ android:strokeWidth="9" />
</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_monochrome.xml b/app/src/main/res/drawable/ic_launcher_monochrome.xml
index 3ba753c..4ee5e60 100644
--- a/app/src/main/res/drawable/ic_launcher_monochrome.xml
+++ b/app/src/main/res/drawable/ic_launcher_monochrome.xml
@@ -8,9 +8,9 @@
android:viewportHeight="108">
<path
android:fillColor="#00000000"
- android:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
+ android:pathData="M28,58 L28,40 L54,40 L54,68 L80,68 L80,52"
android:strokeColor="#FFFFFFFF"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
- android:strokeWidth="11" />
+ android:strokeWidth="9" />
</vector>