From f0130fc5b06f368688d212c87f404e212b7ae382 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 22 May 2025 22:13:50 +0200 Subject: [PATCH] Android: Add Adaptive Icons support Adds [Adaptive Icons](https://developer.android.com/develop/ui/views/launch/icon_design_adaptive) support on Android. Closes #1919. --- .../res/drawable/ic_launcher_background.xml | 10 + .../res/drawable/ic_launcher_foreground.xml | 183 ++++++++++++++++++ .../main/res/mipmap-anydpi/ic_launcher.xml | 6 + .../res/mipmap-anydpi/ic_launcher_round.xml | 6 + 4 files changed, 205 insertions(+) create mode 100644 mobile/android/app/src/main/res/drawable/ic_launcher_background.xml create mode 100644 mobile/android/app/src/main/res/drawable/ic_launcher_foreground.xml create mode 100644 mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher.xml create mode 100644 mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml diff --git a/mobile/android/app/src/main/res/drawable/ic_launcher_background.xml b/mobile/android/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..b5cd46e1 --- /dev/null +++ b/mobile/android/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,10 @@ + + + + diff --git a/mobile/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/mobile/android/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 00000000..f3defba6 --- /dev/null +++ b/mobile/android/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher.xml b/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher.xml new file mode 100644 index 00000000..b3e26b4c --- /dev/null +++ b/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml b/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml new file mode 100644 index 00000000..b3e26b4c --- /dev/null +++ b/mobile/android/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + +