From 592404a3246865d3f5e06a56cb7c1af15d99be46 Mon Sep 17 00:00:00 2001 From: Rajan Maurya Date: Fri, 27 Nov 2020 14:16:41 +0530 Subject: [PATCH] Fix: button background style --- SweetUpdate/src/main/res/drawable/background_button.xml | 9 +++++++++ .../main/res/layout/layout_sweet_update_bottom_sheet.xml | 8 ++++---- .../src/main/res/values/sweet_play_update_styles.xml | 7 ++++--- 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 SweetUpdate/src/main/res/drawable/background_button.xml diff --git a/SweetUpdate/src/main/res/drawable/background_button.xml b/SweetUpdate/src/main/res/drawable/background_button.xml new file mode 100644 index 0000000..90702e2 --- /dev/null +++ b/SweetUpdate/src/main/res/drawable/background_button.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/SweetUpdate/src/main/res/layout/layout_sweet_update_bottom_sheet.xml b/SweetUpdate/src/main/res/layout/layout_sweet_update_bottom_sheet.xml index 578136e..cd536db 100644 --- a/SweetUpdate/src/main/res/layout/layout_sweet_update_bottom_sheet.xml +++ b/SweetUpdate/src/main/res/layout/layout_sweet_update_bottom_sheet.xml @@ -136,6 +136,7 @@ + android:textAllCaps="false" /> @@ -253,8 +254,7 @@ android:layout_marginTop="@dimen/layout_padding_8dp" android:onClick="@{() -> fragment.dismiss()}" android:text="@string/ok" - android:textAllCaps="false" - android:textColor="@color/text_color" /> + android:textAllCaps="false" /> diff --git a/SweetUpdate/src/main/res/values/sweet_play_update_styles.xml b/SweetUpdate/src/main/res/values/sweet_play_update_styles.xml index 7816b89..f5a1186 100644 --- a/SweetUpdate/src/main/res/values/sweet_play_update_styles.xml +++ b/SweetUpdate/src/main/res/values/sweet_play_update_styles.xml @@ -21,9 +21,10 @@ 0dp 0dp @style/TextAppearance.MaterialComponents.Body1 - @color/text_color - @color/white - @dimen/corner_radius + @color/blue_start + @drawable/background_button + @null + 10dp textStart 8dp