From 8918113a31859120688f7d519f7a578e512e8960 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Tue, 19 Nov 2019 17:56:32 +0100 Subject: [PATCH] Added colored borderless ripple effect --- .../res/drawable-v21/bg_selectable_borderless.xml | 3 +++ .../main/res/drawable/bg_selectable_borderless.xml | 14 ++++++++++++++ app/src/main/res/values/styles_md2.xml | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 app/src/main/res/drawable-v21/bg_selectable_borderless.xml create mode 100644 app/src/main/res/drawable/bg_selectable_borderless.xml diff --git a/app/src/main/res/drawable-v21/bg_selectable_borderless.xml b/app/src/main/res/drawable-v21/bg_selectable_borderless.xml new file mode 100644 index 000000000..32bb31128 --- /dev/null +++ b/app/src/main/res/drawable-v21/bg_selectable_borderless.xml @@ -0,0 +1,3 @@ + + \ No newline at end of file diff --git a/app/src/main/res/drawable/bg_selectable_borderless.xml b/app/src/main/res/drawable/bg_selectable_borderless.xml new file mode 100644 index 000000000..c7bb35a7f --- /dev/null +++ b/app/src/main/res/drawable/bg_selectable_borderless.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles_md2.xml b/app/src/main/res/values/styles_md2.xml index 30a2be50c..b38de20a5 100644 --- a/app/src/main/res/values/styles_md2.xml +++ b/app/src/main/res/values/styles_md2.xml @@ -23,6 +23,7 @@ @drawable/bg_selectable + @drawable/bg_selectable_borderless @dimen/internal_action_bar_size @style/WidgetFoundation.Appbar @@ -102,6 +103,7 @@