From 0853bf09a99b89ea0fab1da62eea9e742fd3660f Mon Sep 17 00:00:00 2001 From: net <96362337+netqo@users.noreply.github.com> Date: Wed, 27 May 2026 19:13:04 -0300 Subject: [PATCH] chore(brand): replace launcher icon + splash glyph with the Stack mark The Android Studio template robot was still shipping as the app icon and as the splash mark. Ports the layered-squares glyph the login hero uses (LoginScreen.StackLogoGlyph) into the launcher + splash slots so the app's branding is consistent from the launcher tap through to the first Compose frame. * ic_launcher_foreground: brand glyph sized for the adaptive-icon safe zone (central 66dp of a 108dp viewport) so the corners survive round / squircle launcher masks. * ic_launcher_background: solid SurfaceBase (#0B0B12) plate that matches the window background, so the splash-to-content transition doesn't flash a different color. * ic_launcher_monochrome: single-tint variant for Android 13+ themed icons (the previous adaptive-icon XML pointed monochrome at the colored foreground, which the platform can't recolor cleanly). * ic_brand_splash: standalone splash glyph that fills the full 108dp viewport. The launcher foreground has to keep its content inside the safe zone and would render visibly small in the SplashScreen API icon area (no mask is applied there); this drawable expands the same three squares so the splash reads as the Stack mark instead of a tiny inset. * themes.xml: splash theme now points at ic_brand_splash. Legacy mipmap-{m,h,xh,xxh,xxxh}dpi PNGs are untouched. They only ship to API 24-25 devices that can't load the adaptive-icon XML (min SDK is 24, so the fallback is required); generating new PNGs from the vector needs a build-time tool that isn't wired in yet. --- app/src/main/res/drawable/ic_brand_splash.xml | 28 +++ .../res/drawable/ic_launcher_background.xml | 168 +----------------- .../res/drawable/ic_launcher_foreground.xml | 45 +++-- .../res/drawable/ic_launcher_monochrome.xml | 26 +++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 2 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 2 +- app/src/main/res/values/themes.xml | 2 +- 7 files changed, 85 insertions(+), 188 deletions(-) create mode 100644 app/src/main/res/drawable/ic_brand_splash.xml create mode 100644 app/src/main/res/drawable/ic_launcher_monochrome.xml diff --git a/app/src/main/res/drawable/ic_brand_splash.xml b/app/src/main/res/drawable/ic_brand_splash.xml new file mode 100644 index 0000000..252bb87 --- /dev/null +++ b/app/src/main/res/drawable/ic_brand_splash.xml @@ -0,0 +1,28 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index 07d5da9..44277e9 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,170 +1,16 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml index 2b068d1..ac3bfdc 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -1,30 +1,27 @@ + - - - - - - - - - \ No newline at end of file + android:fillColor="#00000000" + android:strokeColor="#8B5CF6" + android:strokeWidth="3" + android:pathData="M32,32 h44 v44 h-44 z" /> + + + diff --git a/app/src/main/res/drawable/ic_launcher_monochrome.xml b/app/src/main/res/drawable/ic_launcher_monochrome.xml new file mode 100644 index 0000000..efc18b0 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_monochrome.xml @@ -0,0 +1,26 @@ + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 6f3b755..b070c76 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 6f3b755..b070c76 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 39518bb..a134db5 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -17,7 +17,7 @@ postSplashScreenTheme once the activity is ready. -->