feat(android): a padlock icon instead of Delphi's default

Cyan on slate, the accent the desktop app already uses. Adaptive vectors for
Android 8+ - background covering the full 108 units since the launcher applies
its own mask, foreground kept inside the central 66 that no mask can crop -
plus a monochrome layer for Android 13 themed icons, where the keyhole has to
be a hole in the path rather than a shape in another colour.

PNGs for older launchers come from make-icons.ps1, same drawing, and carry
their own rounded square since nothing masks them.

They are copied over Delphi's in repack-apk.ps1, for the same reason as
libsk4d.so: the Android_LauncherIcon and Android_AdaptiveIcon properties ought
to be enough, and nothing deploys them here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-08-15 16:11:31 +01:00
parent 65e6ba6a54
commit 202b93c246
5 changed files with 137 additions and 0 deletions
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Avant-plan de l'icone adaptative : un cadenas.
TOUT DOIT TENIR DANS LES 66 UNITES CENTRALES (soit 21..87) : le systeme
recadre et anime la couche autour de cette zone sure, et ce qui deborde
peut etre rogne selon le lanceur. Le dessin ci-dessous occupe 34..74. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<!-- Anse : trait, pas remplissage, pour garder l'interieur ajoure. -->
<path
android:strokeColor="#22D3EE"
android:strokeWidth="5.5"
android:strokeLineCap="round"
android:fillColor="#00000000"
android:pathData="M44,56 L44,47 A10,10 0 0 1 64,47 L64,56" />
<!-- Corps -->
<path
android:fillColor="#22D3EE"
android:pathData="M38,54 L70,54 A4,4 0 0 1 74,58 L74,76 A4,4 0 0 1 70,80 L38,80 A4,4 0 0 1 34,76 L34,58 A4,4 0 0 1 38,54 Z" />
<!-- Serrure, evidee dans la couleur du fond -->
<path
android:fillColor="#0F172A"
android:pathData="M54,62 m-4,0 a4,4 0 1,0 8,0 a4,4 0 1,0 -8,0 Z" />
<path
android:fillColor="#0F172A"
android:pathData="M52.2,66 L55.8,66 L55,73.5 L53,73.5 Z" />
</vector>