From 248907c1488ca31ee4c719e309749c3512d5f3ab Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 31 May 2026 00:16:01 +0000 Subject: [PATCH] #2140 feat: add monochrome app icon for themed icon support on Android 13+ Adds ic_launcher_monochrome.xml using evenOdd fill paths derived from the existing foreground icon so the DPad and keyboard shapes are recognisable in a single colour. Updates all adaptive-icon XML files (release, debug, ci) to reference the new monochrome layer. --- CHANGELOG.md | 4 ++++ .../ci/res/mipmap-anydpi-v26/ic_launcher.xml | 1 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 1 + .../res/mipmap-anydpi-v26/ic_launcher.xml | 1 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 1 + .../res/drawable/ic_launcher_monochrome.xml | 24 +++++++++++++++++++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 1 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 1 + 8 files changed, 34 insertions(+) create mode 100644 base/src/main/res/drawable/ic_launcher_monochrome.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index c0872a3650..f848f8fed5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Unreleased +## Added + +- #2140 Add monochrome app icon layer for themed icon support on Android 13+. + ## Changed - #1369 Add content descriptions to drag handles and custom "Move up"/"Move down" accessibility actions for trigger and action list items, improving TalkBack support for reordering. diff --git a/app/src/ci/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/ci/res/mipmap-anydpi-v26/ic_launcher.xml index 7353dbd1fd..1084c24082 100644 --- a/app/src/ci/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/ci/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/app/src/ci/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/ci/res/mipmap-anydpi-v26/ic_launcher_round.xml index 7353dbd1fd..1084c24082 100644 --- a/app/src/ci/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/ci/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml index 7353dbd1fd..1084c24082 100644 --- a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml index 7353dbd1fd..1084c24082 100644 --- a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/base/src/main/res/drawable/ic_launcher_monochrome.xml b/base/src/main/res/drawable/ic_launcher_monochrome.xml new file mode 100644 index 0000000000..228496484e --- /dev/null +++ b/base/src/main/res/drawable/ic_launcher_monochrome.xml @@ -0,0 +1,24 @@ + + + + + + + diff --git a/base/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/base/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 7353dbd1fd..1084c24082 100644 --- a/base/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/base/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/base/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/base/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 7353dbd1fd..1084c24082 100644 --- a/base/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/base/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,4 +2,5 @@ + \ No newline at end of file