From d34d30e65fa838af356cc3db38d115f8f5d6df33 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Sat, 15 Aug 2026 20:41:43 -0400 Subject: [PATCH] feat(android): branded app icon + native splash screen (Phase 28.8 polish) --- android/app/src/main/AndroidManifest.xml | 5 +++-- .../res/drawable/ic_launcher_foreground.xml | 18 ++++++++++++++---- .../main/res/mipmap-anydpi-v26/ic_launcher.xml | 2 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 +++++ android/app/src/main/res/values-v31/themes.xml | 9 +++++++++ android/app/src/main/res/values/colors.xml | 3 +-- android/app/src/main/res/values/strings.xml | 2 +- android/app/src/main/res/values/themes.xml | 3 +++ 8 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 android/app/src/main/res/values-v31/themes.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c452737..f2fd72b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -20,7 +20,8 @@ android:name=".YarisApp" android:allowBackup="false" android:fullBackupOnly="false" - android:icon="@android:mipmap/sym_def_app_icon" + android:icon="@mipmap/ic_launcher" + android:roundIcon="@mipmap/ic_launcher_round" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.YarisOBD" @@ -30,7 +31,7 @@ + android:theme="@style/Theme.YarisOBD.Splash"> 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 ac739a3..b771b79 100644 --- a/android/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/android/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -4,10 +4,20 @@ android:height="108dp" android:viewportWidth="108" android:viewportHeight="108"> + + android:pathData="M54,54m-24,0a24,24 0 1,1 48,0a24,24 0 1,1 -48,0" + android:strokeColor="#FFFFFF" + android:strokeWidth="6" + android:fillColor="#00000000" /> + + android:pathData="M54,54L72,38" + android:strokeColor="#FFFFFF" + android:strokeWidth="6" + android:strokeLineCap="round" /> + + diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 526d293..5ed0a2d 100644 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - + diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..5ed0a2d --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/main/res/values-v31/themes.xml b/android/app/src/main/res/values-v31/themes.xml new file mode 100644 index 0000000..fd5b6bc --- /dev/null +++ b/android/app/src/main/res/values-v31/themes.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml index 3e4ff03..eb207bb 100644 --- a/android/app/src/main/res/values/colors.xml +++ b/android/app/src/main/res/values/colors.xml @@ -1,5 +1,4 @@ - #121212 - #4CAF50 + #E63946 diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 60dbf37..7ab76c9 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,4 +1,4 @@ - yaris-obd + Yaris OBD diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml index f04d7ef..9ed82c0 100644 --- a/android/app/src/main/res/values/themes.xml +++ b/android/app/src/main/res/values/themes.xml @@ -4,4 +4,7 @@ @android:color/black @android:color/black + + +