From f3ac27e8375c40bdd1bf68fc782f58894e35b543 Mon Sep 17 00:00:00 2001 From: Andries Smit Date: Sun, 10 Apr 2022 20:41:41 +0200 Subject: [PATCH] style: event date time to material input --- .../src/main/res/drawable-hdpi/background_darkgray.xml | 9 --------- .../main/res/drawable-hdpi/background_input_border.xml | 10 ++++++++++ core/src/main/res/layout/datetime.xml | 8 ++++++++ 3 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 core/src/main/res/drawable-hdpi/background_darkgray.xml create mode 100644 core/src/main/res/drawable-hdpi/background_input_border.xml diff --git a/core/src/main/res/drawable-hdpi/background_darkgray.xml b/core/src/main/res/drawable-hdpi/background_darkgray.xml deleted file mode 100644 index 4d5138556b..0000000000 --- a/core/src/main/res/drawable-hdpi/background_darkgray.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/core/src/main/res/drawable-hdpi/background_input_border.xml b/core/src/main/res/drawable-hdpi/background_input_border.xml new file mode 100644 index 0000000000..fb775c3f6f --- /dev/null +++ b/core/src/main/res/drawable-hdpi/background_input_border.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/core/src/main/res/layout/datetime.xml b/core/src/main/res/layout/datetime.xml index bd9415d21d..f4e4d538da 100644 --- a/core/src/main/res/layout/datetime.xml +++ b/core/src/main/res/layout/datetime.xml @@ -2,6 +2,7 @@ @@ -29,6 +34,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" + android:background="@drawable/background_input_border" + android:foreground="?attr/selectableItemBackgroundBorderless" + android:clickable="true" android:padding="10dp" android:text="08:20pm" />