From 22425e0badd4b6a192b0b20ee0593a1a393314ae Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 3 Oct 2026 23:00:19 +0200 Subject: [PATCH] fix(android): centre the launcher glyph optically in its mask --- .../app/src/main/res/drawable/ic_launcher_foreground.xml | 6 ++++-- .../app/src/main/res/drawable/ic_launcher_monochrome.xml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/android/app/src/main/res/drawable/ic_launcher_foreground.xml index ddb4142..02a01a0 100644 --- a/android/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/android/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -2,15 +2,17 @@ The play mark from packaging/io.narl.proton-stream.svg, cut into the blocks a revision is fetched in. The paths are in the SVG's 128-unit space; the group maps its 104-unit tile onto the 72dp a launcher shows of a 108dp layer. + It centres x=70, between the glyph's centroid (66) and its box (73): the + SVG's own centre, 64, leaves it sitting visibly right in a round mask. --> + android:translateX="-16" android:translateY="-8"> diff --git a/android/app/src/main/res/drawable/ic_launcher_monochrome.xml b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml index 282f6dd..e6b1f1f 100644 --- a/android/app/src/main/res/drawable/ic_launcher_monochrome.xml +++ b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml @@ -3,9 +3,9 @@ android:width="108dp" android:height="108dp" android:viewportWidth="108" android:viewportHeight="108"> + android:translateX="-16" android:translateY="-8">