From bacb8a57ad8cedd26762d41ed12c2d3c5241c5ef Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 14:57:22 +0000 Subject: [PATCH] feat: add circular-badge service icon as amethyst_service2 option Keep the original hollow-outline amethyst_service icon and add the new circular badge (solid disc with the gem punched out of its centre) as a separate amethyst_service2 drawable, so the always-on notification icon can be switched between the two without losing either design. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Kvjst6qVHuQ8rKD3LtvTzi --- .../main/res/drawable/amethyst_service.xml | 36 +++++++++++-------- .../main/res/drawable/amethyst_service2.xml | 27 ++++++++++++++ 2 files changed, 48 insertions(+), 15 deletions(-) create mode 100644 amethyst/src/main/res/drawable/amethyst_service2.xml diff --git a/amethyst/src/main/res/drawable/amethyst_service.xml b/amethyst/src/main/res/drawable/amethyst_service.xml index 1840d24a7e..2413c3894e 100644 --- a/amethyst/src/main/res/drawable/amethyst_service.xml +++ b/amethyst/src/main/res/drawable/amethyst_service.xml @@ -3,25 +3,31 @@ ~ ~ Notification small icons are rendered by the system as flat, alpha-only ~ silhouettes, so the regular `amethyst` gem becomes an identical solid gem - ~ for both real notifications and this persistent service. To set the - ~ always-on service apart, this variant draws a full, solid disc with the - ~ brand gem punched out of its centre (slightly smaller, as negative space). - ~ The enclosing circle reads as a continuous, always-running badge — clearly - ~ different at a glance while keeping the recognisable gem shape. - ~ - ~ The single path combines the disc (outer subpath) with the gem body and its - ~ facet dot (inner subpaths); `fillType="evenOdd"` turns the gem into a hole, - ~ and the small facet dot back into a solid island within that hole, echoing - ~ the highlight on the regular gem. The gem is centred on the disc and scaled - ~ to ~57% of its diameter so a comfortable ring surrounds it on every side. + ~ for both real notifications and this persistent service. To stop the + ~ service from reading as a new notification, this variant draws the gem as + ~ a hollow outline — same brand shape, clearly different at a glance. --> - + + + + diff --git a/amethyst/src/main/res/drawable/amethyst_service2.xml b/amethyst/src/main/res/drawable/amethyst_service2.xml new file mode 100644 index 0000000000..1840d24a7e --- /dev/null +++ b/amethyst/src/main/res/drawable/amethyst_service2.xml @@ -0,0 +1,27 @@ + + + +