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.

Square: a square-wave icon, light and dark

Lelonio5a5d29314bca
diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 448df54..ca4b190 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -127,7 +127,8 @@
"Bash(git commit -q -m 'An icon made of the app'\\\\''s own glass *)",
"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 'One panel for everything the player shows, dimmed alike *)",
+ "Bash(git commit -q -m 'Square: a square-wave icon, light and dark *)"
]
}
}
diff --git a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin
index 6b6f11a..1d9a513 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_background.xml b/app/src/main/res/drawable-night/ic_launcher_background.xml
new file mode 100644
index 0000000..d3f6301
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_launcher_background.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ The dark plate. Same object, unlit: near-black with the faintest fall-off, so
+ the wave over it is the only bright thing.
+-->
+<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="92"
+ android:endY="100"
+ android:startX="16"
+ android:startY="8"
+ android:type="linear">
+ <item android:color="#FF161618" android:offset="0" />
+ <item android:color="#FF0D0D0F" android:offset="0.55" />
+ <item android:color="#FF060607" android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+</vector>
diff --git a/app/src/main/res/drawable-night/ic_launcher_foreground.xml b/app/src/main/res/drawable-night/ic_launcher_foreground.xml
new file mode 100644
index 0000000..724f6b6
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_launcher_foreground.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ The wave on the dark plate: the colours swap, the geometry does not.
+
+ 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.
+-->
+<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="M22,59 L22,37 L56,37 L56,73 L86,73 L86,53"
+ android:strokeColor="#59000000"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="miter"
+ android:strokeWidth="11" />
+
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
+ android:strokeColor="#FFEDEDF0"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="miter"
+ android:strokeWidth="11" />
+</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
index a8fe7b6..82035c8 100644
--- a/app/src/main/res/drawable/ic_launcher_background.xml
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -1,10 +1,6 @@
<?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.
+ The plate the wave is cut into: near-white, very slightly lit from the top
+ left, the way the icon it was drawn from is.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
@@ -12,45 +8,17 @@
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:endX="92"
+ android:endY="100"
+ android:startX="16"
+ android:startY="8"
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" />
+ <item android:color="#FFE3E3E8" android:offset="0" />
+ <item android:color="#FFD4D4DA" android:offset="0.55" />
+ <item android:color="#FFC9C9D0" android:offset="1" />
</gradient>
</aapt:attr>
</path>
diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml
index 1f9ecfa..4fb3460 100644
--- a/app/src/main/res/drawable/ic_launcher_foreground.xml
+++ b/app/src/main/res/drawable/ic_launcher_foreground.xml
@@ -1,72 +1,34 @@
<?xml version="1.0" encoding="utf-8"?><!--
- A pane of the app's glass, with the level meter that marks the playing row.
+ A square wave, which is what the app is named after.
- 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.
+ Drawn as a stroked path rather than as an outline shape: the corners have to
+ 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.
- 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.
+ 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.
-->
<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: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. -->
+ <!-- The lip: the same path, a shade lighter and a pixel lower. -->
<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>
+ android:pathData="M22,59 L22,37 L56,37 L56,73 L86,73 L86,53"
+ android:strokeColor="#4DFFFFFF"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="miter"
+ android:strokeWidth="11" />
- <!-- 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" />
+ android:fillColor="#00000000"
+ android:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
+ android:strokeColor="#FF1B1B1F"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="miter"
+ android:strokeWidth="11" />
</vector>
diff --git a/app/src/main/res/drawable/ic_launcher_monochrome.xml b/app/src/main/res/drawable/ic_launcher_monochrome.xml
index 727e74b..3ba753c 100644
--- a/app/src/main/res/drawable/ic_launcher_monochrome.xml
+++ b/app/src/main/res/drawable/ic_launcher_monochrome.xml
@@ -1,9 +1,5 @@
<?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.
+ The themed form: one flat colour, so only the wave itself is left.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
@@ -12,19 +8,9 @@
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:pathData="M22,58 L22,36 L56,36 L56,72 L86,72 L86,52"
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" />
+ android:strokeLineCap="round"
+ android:strokeLineJoin="miter"
+ android:strokeWidth="11" />
</vector>
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
new file mode 100644
index 0000000..de4e318
--- /dev/null
+++ b/app/src/main/res/values-night/colors.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- The flat stand-in for launchers older than adaptive icons. -->
+ <color name="ic_launcher_background">#0D0D0F</color>
+</resources>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 1a5ebcc..f524f99 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- The flat stand-in for launchers older than adaptive icons. -->
- <color name="ic_launcher_background">#101014</color>
+ <color name="ic_launcher_background">#D4D4DA</color>
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8a4e25a..e5a5671 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name">Spot</string>
+ <string name="app_name">Square</string>
</resources>