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.

An icon made of the app's own glass

Lelonio8d42609094e8
diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 163b99d..940b5f7 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -123,7 +123,8 @@
"Bash(git commit -q -m 'Blur the sheet harder than the page; stop reverb on pause *)",
"Bash(git commit -q -m 'Reverb released on pause, notification opens the player, no black Canvas *)",
"Bash(git commit -q -m 'Wait for a track before opening the player; drop the cover stand-in *)",
- "Bash(git commit -q -m 'Deliver the notification intent; blur what the sheets actually cover *)"
+ "Bash(git commit -q -m 'Deliver the notification intent; blur what the sheets actually cover *)",
+ "Bash(git commit -q -m 'An icon made of the app'\\\\''s own glass *)"
]
}
}
diff --git a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin
index 1cfdb75..3b771d1 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/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..a8fe7b6
--- /dev/null
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ The page the icon's glass sits on.
+
+ Near-black with a warm bloom off-centre, which is what every screen in the app
+ looks like: a dark surface lit unevenly by the artwork behind it. A flat colour
+ would leave the pane above with nothing to refract, and the icon would read as
+ a white shape on a square rather than as a piece of the same material.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="108"
+ android:viewportHeight="108">
+
+ <path android:pathData="M0,0h108v108h-108z">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:endX="96"
+ android:endY="104"
+ android:startX="12"
+ android:startY="4"
+ android:type="linear">
+ <item android:color="#FF17171C" android:offset="0" />
+ <item android:color="#FF101014" android:offset="0.55" />
+ <item android:color="#FF08080A" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+
+ <!-- The bloom. Two of them, so the light has a direction. -->
+ <path android:pathData="M0,0h108v108h-108z">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:centerX="34"
+ android:centerY="30"
+ android:gradientRadius="52"
+ android:type="radial">
+ <item android:color="#66FF7A3D" android:offset="0" />
+ <item android:color="#00FF7A3D" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+
+ <path android:pathData="M0,0h108v108h-108z">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:centerX="84"
+ android:centerY="88"
+ android:gradientRadius="46"
+ android:type="radial">
+ <item android:color="#4D3D7BFF" android:offset="0" />
+ <item android:color="#003D7BFF" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml
index c593a53..1f9ecfa 100644
--- a/app/src/main/res/drawable/ic_launcher_foreground.xml
+++ b/app/src/main/res/drawable/ic_launcher_foreground.xml
@@ -1,10 +1,72 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?><!--
+ A pane of the app's glass, with the level meter that marks the playing row.
+
+ Not a note and not a vinyl: both are what a music app's icon is expected to be,
+ and neither says anything about this one. What the app looks like is a
+ translucent capsule with a bright edge over something dark and lit — the tab
+ bar, the buttons and the player's panes are all that shape — so the icon is one
+ of those panes seen close up.
+
+ Everything sits inside the 66dp safe zone: an adaptive icon is masked to
+ whatever shape the launcher wants, and the corners are the first thing to go.
+-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
+
+ <!-- The pane itself: a top-lit film, the way glass catches a window.
+ Lighter at the top left, almost clear at the bottom right. -->
<path
- android:fillColor="#FFFFFF"
- android:pathData="M54,30a24,24 0,1 0,0.1 0zM43,44c8,-2 17,-1 24,3a2,2 0,0 1,-2 3c-6,-3 -14,-4 -21,-2a2,2 0,0 1,-1 -4zM43,53c7,-2 14,-1 20,2a2,2 0,0 1,-2 3c-5,-2 -11,-3 -17,-2a2,2 0,0 1,-1 -3zM44,61c5,-1 11,-1 16,1a2,2 0,0 1,-1 3c-5,-2 -10,-2 -14,-1a2,2 0,0 1,-1 -3z" />
+ android:pathData="M32,29h44a11,11 0,0 1,11 11v28a11,11 0,0 1,-11 11h-44a11,11 0,0 1,-11 -11v-28a11,11 0,0 1,11 -11z">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:endX="82"
+ android:endY="76"
+ android:startX="26"
+ android:startY="32"
+ android:type="linear">
+ <item android:color="#4DFFFFFF" android:offset="0" />
+ <item android:color="#26FFFFFF" android:offset="0.5" />
+ <item android:color="#14FFFFFF" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+
+ <!-- The hairline. It is what makes the shape read as a solid piece of glass
+ rather than as a translucent rectangle, and it is on every surface in
+ the app for the same reason. -->
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M32,29h44a11,11 0,0 1,11 11v28a11,11 0,0 1,-11 11h-44a11,11 0,0 1,-11 -11v-28a11,11 0,0 1,11 -11z"
+ android:strokeWidth="1.6">
+ <aapt:attr name="android:strokeColor">
+ <gradient
+ android:endX="80"
+ android:endY="78"
+ android:startX="28"
+ android:startY="30"
+ android:type="linear">
+ <item android:color="#B3FFFFFF" android:offset="0" />
+ <item android:color="#33FFFFFF" android:offset="0.55" />
+ <item android:color="#80FFFFFF" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+
+ <!-- Four bars, rising and falling: the level meter drawn on the playing row. -->
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M36,50h5a2.5,2.5 0,0 1,2.5 2.5v3a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-3a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M48,41h5a2.5,2.5 0,0 1,2.5 2.5v21a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-21a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M60,46h5a2.5,2.5 0,0 1,2.5 2.5v11a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-11a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M72,49h5a2.5,2.5 0,0 1,2.5 2.5v5a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-5a2.5,2.5 0,0 1,2.5 -2.5z" />
</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_monochrome.xml b/app/src/main/res/drawable/ic_launcher_monochrome.xml
new file mode 100644
index 0000000..727e74b
--- /dev/null
+++ b/app/src/main/res/drawable/ic_launcher_monochrome.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ The themed-icon form, Android 13 and up.
+
+ One flat colour by definition — the launcher tints it — so the glass has to be
+ said with line instead of with light: the same pane, drawn as an outline, with
+ the same four bars solid inside it.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="108"
+ android:viewportHeight="108">
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M32,29h44a11,11 0,0 1,11 11v28a11,11 0,0 1,-11 11h-44a11,11 0,0 1,-11 -11v-28a11,11 0,0 1,11 -11z"
+ android:strokeColor="#FFFFFFFF"
+ android:strokeWidth="3" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M36,50h5a2.5,2.5 0,0 1,2.5 2.5v3a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-3a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M48,41h5a2.5,2.5 0,0 1,2.5 2.5v21a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-21a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M60,46h5a2.5,2.5 0,0 1,2.5 2.5v11a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-11a2.5,2.5 0,0 1,2.5 -2.5z" />
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M72,49h5a2.5,2.5 0,0 1,2.5 2.5v5a2.5,2.5 0,0 1,-2.5 2.5h-5a2.5,2.5 0,0 1,-2.5 -2.5v-5a2.5,2.5 0,0 1,2.5 -2.5z" />
+</vector>
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
index a8a8fa5..8fde456 100644
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@color/ic_launcher_background" />
+ <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
+ <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
index a8a8fa5..8fde456 100644
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@color/ic_launcher_background" />
+ <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
+ <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 6d1b688..1a5ebcc 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <color name="ic_launcher_background">#1DB954</color>
+ <!-- The flat stand-in for launchers older than adaptive icons. -->
+ <color name="ic_launcher_background">#101014</color>
</resources>