From 2d4c62d9d4f3c3f240541ff42d0406032bd23310 Mon Sep 17 00:00:00 2001 From: David K Date: Fri, 2 Sep 2022 20:50:09 +0100 Subject: [PATCH] Add a monochrome icon for LeakCanary. Android 13 now supports themed app icons, including Monochrome Icons. This change adds an additional Vector Drawable icon which will serve as the Monochrome Icon. It also sets the Adaptive-Icon `monochrome` field. This icon contains some elements of the logo slightly transparent for easier app identification. --- .../drawable/leak_canary_icon_monochrome.xml | 26 +++++++++++++++++++ .../mipmap-anydpi-v26/leak_canary_icon.xml | 1 + 2 files changed, 27 insertions(+) create mode 100644 leakcanary-android-core/src/main/res/drawable/leak_canary_icon_monochrome.xml diff --git a/leakcanary-android-core/src/main/res/drawable/leak_canary_icon_monochrome.xml b/leakcanary-android-core/src/main/res/drawable/leak_canary_icon_monochrome.xml new file mode 100644 index 0000000000..256d8077f6 --- /dev/null +++ b/leakcanary-android-core/src/main/res/drawable/leak_canary_icon_monochrome.xml @@ -0,0 +1,26 @@ + + + + + + + diff --git a/leakcanary-android-core/src/main/res/mipmap-anydpi-v26/leak_canary_icon.xml b/leakcanary-android-core/src/main/res/mipmap-anydpi-v26/leak_canary_icon.xml index ee62e1a228..f15489773d 100644 --- a/leakcanary-android-core/src/main/res/mipmap-anydpi-v26/leak_canary_icon.xml +++ b/leakcanary-android-core/src/main/res/mipmap-anydpi-v26/leak_canary_icon.xml @@ -2,4 +2,5 @@ +