From 3e610c85b9e113263a2c37a49aeb5a9db1e912e5 Mon Sep 17 00:00:00 2001 From: Max Bechtold Date: Sun, 29 Dec 2019 11:42:45 +0100 Subject: [PATCH] provide drawable for volume adaption setting --- app/src/main/res/xml/feed_settings.xml | 1 + core/src/main/res/drawable/ic_volume_adaption_grey.xml | 9 +++++++++ core/src/main/res/drawable/ic_volume_adaption_white.xml | 9 +++++++++ core/src/main/res/values/attrs.xml | 1 + core/src/main/res/values/styles.xml | 2 ++ 5 files changed, 22 insertions(+) create mode 100644 core/src/main/res/drawable/ic_volume_adaption_grey.xml create mode 100644 core/src/main/res/drawable/ic_volume_adaption_white.xml diff --git a/app/src/main/res/xml/feed_settings.xml b/app/src/main/res/xml/feed_settings.xml index 9f2a0ba82..f9b4e7a25 100644 --- a/app/src/main/res/xml/feed_settings.xml +++ b/app/src/main/res/xml/feed_settings.xml @@ -30,6 +30,7 @@ + + \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_volume_adaption_white.xml b/core/src/main/res/drawable/ic_volume_adaption_white.xml new file mode 100644 index 000000000..27d7c6e7b --- /dev/null +++ b/core/src/main/res/drawable/ic_volume_adaption_white.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index fe571539a..c6668675f 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -53,6 +53,7 @@ + diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index a638917f4..6a82adf74 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -76,6 +76,7 @@ @drawable/ic_bookmark_grey600_24dp @drawable/ic_fab_edit_white @drawable/ic_key_grey600 + @drawable/ic_volume_adaption_grey @color/master_switch_background_light @color/highlight_light @@ -164,6 +165,7 @@ @drawable/ic_bookmark_white_24dp @drawable/ic_fab_edit_white @drawable/ic_key_white + @drawable/ic_volume_adaption_white @color/master_switch_background_dark @color/highlight_dark @style/PreferenceThemeOverlay.v14.Material