fix(android): scale icon badge into safe zone so the ring is visible

The ring at 0.96 sat in the adaptive-icon bleed zone (outer ~18dp cropped by the
launcher), so only the grid showed. Scale badge + grid to 0.68 so the ring lands
at the edge of the visible circle, and brighten it to grey->white.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-06-19 18:26:32 +01:00
co-authored by Claude Opus 4.8
parent 64937df8a2
commit a2fa57456d
2 changed files with 11 additions and 10 deletions
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Dark fill + the badge's metallic gradient ring, drawn in the background so
it sits at the masked-circle edge and isn't affected by foreground
parallax. Ring brightened (grey→white) so it actually reads on #0A0A0A. -->
<!-- Dark fill + the badge's metallic ring. The ring is scaled to ~0.68 so it
lands inside the adaptive-icon safe zone (the outer ~18dp is cropped by the
launcher) and reads at the edge of the visible circle. Brightened
grey->white so it's clearly visible on #0A0A0A. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
@@ -16,11 +17,11 @@
<group
android:pivotX="376"
android:pivotY="376"
android:scaleX="0.96"
android:scaleY="0.96">
android:scaleX="0.68"
android:scaleY="0.68">
<path
android:fillColor="#0A0A0A"
android:strokeWidth="20"
android:strokeWidth="26"
android:pathData="M11.441,375.669a364.227,364.227 0 1,0 728.454,0a364.227,364.227 0 1,0 -728.454,0z">
<aapt:attr name="android:strokeColor">
<gradient
@@ -29,8 +30,8 @@
android:startY="751.338"
android:endX="0"
android:endY="0">
<item android:offset="0" android:color="#FF4A4A4A" />
<item android:offset="1" android:color="#FFF0F0F0" />
<item android:offset="0" android:color="#FF777777" />
<item android:offset="1" android:color="#FFFFFFFF" />
</gradient>
</aapt:attr>
</path>