From e5d2d1b6ef6eec995e2ef7e714653567e349e59e Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 6 Aug 2022 16:55:29 +0200 Subject: Migrate navigation drawer to Material3 --- .../main/res/drawable-v21/drawer_item_background.xml | 20 ++++++++++++++++++++ .../src/main/res/drawable/drawer_item_background.xml | 16 ++++++++++++++++ core/src/main/res/values/colors.xml | 3 ++- core/src/main/res/values/styles.xml | 4 ++-- 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 core/src/main/res/drawable-v21/drawer_item_background.xml create mode 100644 core/src/main/res/drawable/drawer_item_background.xml (limited to 'core/src/main/res') diff --git a/core/src/main/res/drawable-v21/drawer_item_background.xml b/core/src/main/res/drawable-v21/drawer_item_background.xml new file mode 100644 index 000000000..1992158cc --- /dev/null +++ b/core/src/main/res/drawable-v21/drawer_item_background.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/res/drawable/drawer_item_background.xml b/core/src/main/res/drawable/drawer_item_background.xml new file mode 100644 index 000000000..a0ec893a8 --- /dev/null +++ b/core/src/main/res/drawable/drawer_item_background.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index 859b64367..d8a860af6 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -25,10 +25,11 @@ #22777777 #90000000 #905B5B5B - #1F000000 #0078C2 + #250078C2 #3D8BFF + #253D8BFF #0ba2ff #0878ff diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index e3e23c1d2..a1e93aad3 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -21,7 +21,7 @@ @color/master_switch_background_light @color/highlight_light @color/black - @color/highlight_light + @color/accent_light_alpha false @color/grey600 @color/seek_background_light @@ -56,7 +56,7 @@ @color/background_elevated_darktheme @color/white @style/ProgressBarDark - @color/highlight_dark + @color/accent_dark_alpha @color/master_switch_background_dark @color/highlight_dark @color/white -- cgit v1.2.3