From 1c28045bf422847105a81e89a000323529a0f157 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Thu, 28 Sep 2023 20:09:49 +0200 Subject: [PATCH] Use layer-list for app_banner drawable --- .../drawable-v24/app_banner_background.xml | 11 ++++++ ...p_banner.xml => app_banner_foreground.xml} | 4 +-- app/src/main/res/drawable/app_banner.xml | 35 +++---------------- .../res/drawable/app_banner_background.xml | 11 ++++++ .../res/drawable/app_banner_foreground.xml | 28 +++++++++++++++ 5 files changed, 56 insertions(+), 33 deletions(-) create mode 100644 app/src/main/res/drawable-v24/app_banner_background.xml rename app/src/main/res/drawable-v24/{app_banner.xml => app_banner_foreground.xml} (98%) create mode 100644 app/src/main/res/drawable/app_banner_background.xml create mode 100644 app/src/main/res/drawable/app_banner_foreground.xml diff --git a/app/src/main/res/drawable-v24/app_banner_background.xml b/app/src/main/res/drawable-v24/app_banner_background.xml new file mode 100644 index 0000000000..8061f0b69f --- /dev/null +++ b/app/src/main/res/drawable-v24/app_banner_background.xml @@ -0,0 +1,11 @@ + + + + diff --git a/app/src/main/res/drawable-v24/app_banner.xml b/app/src/main/res/drawable-v24/app_banner_foreground.xml similarity index 98% rename from app/src/main/res/drawable-v24/app_banner.xml rename to app/src/main/res/drawable-v24/app_banner_foreground.xml index c2f273c45c..ff2d68e38a 100644 --- a/app/src/main/res/drawable-v24/app_banner.xml +++ b/app/src/main/res/drawable-v24/app_banner_foreground.xml @@ -1,12 +1,10 @@ + - - - - - - - - - - - - + + + + + diff --git a/app/src/main/res/drawable/app_banner_background.xml b/app/src/main/res/drawable/app_banner_background.xml new file mode 100644 index 0000000000..0eae91dbdd --- /dev/null +++ b/app/src/main/res/drawable/app_banner_background.xml @@ -0,0 +1,11 @@ + + + + diff --git a/app/src/main/res/drawable/app_banner_foreground.xml b/app/src/main/res/drawable/app_banner_foreground.xml new file mode 100644 index 0000000000..18102a5977 --- /dev/null +++ b/app/src/main/res/drawable/app_banner_foreground.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + +