From 2ea5c7e3bc3c745fb9e4ac6f256160af4197e296 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Thu, 27 Oct 2022 17:21:45 -0300 Subject: [PATCH] Update google pay button to match new styling. --- .../drawable/donate_with_google_pay_rounded_background.xml | 6 ++++++ .../src/main/res/layout/donate_with_googlepay_button.xml | 4 ++-- donations/lib/src/main/res/values-night/colors.xml | 4 ++++ donations/lib/src/main/res/values/colors.xml | 4 ++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 donations/lib/src/main/res/drawable/donate_with_google_pay_rounded_background.xml create mode 100644 donations/lib/src/main/res/values-night/colors.xml create mode 100644 donations/lib/src/main/res/values/colors.xml diff --git a/donations/lib/src/main/res/drawable/donate_with_google_pay_rounded_background.xml b/donations/lib/src/main/res/drawable/donate_with_google_pay_rounded_background.xml new file mode 100644 index 0000000000..5c8c27d550 --- /dev/null +++ b/donations/lib/src/main/res/drawable/donate_with_google_pay_rounded_background.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/donations/lib/src/main/res/layout/donate_with_googlepay_button.xml b/donations/lib/src/main/res/layout/donate_with_googlepay_button.xml index 797bf8fc52..62eb72e1d3 100755 --- a/donations/lib/src/main/res/layout/donate_with_googlepay_button.xml +++ b/donations/lib/src/main/res/layout/donate_with_googlepay_button.xml @@ -3,8 +3,8 @@ android:clickable="true" android:focusable="true" android:layout_width="match_parent" - android:layout_height="48sp" - android:background="@drawable/googlepay_button_no_shadow_background" + android:layout_height="44sp" + android:background="@drawable/donate_with_google_pay_rounded_background" android:padding="2sp" android:contentDescription="@string/donate_with_googlepay_button_content_description"> + + #FFFFFF + \ No newline at end of file diff --git a/donations/lib/src/main/res/values/colors.xml b/donations/lib/src/main/res/values/colors.xml new file mode 100644 index 0000000000..925d9541dc --- /dev/null +++ b/donations/lib/src/main/res/values/colors.xml @@ -0,0 +1,4 @@ + + + #000000 + \ No newline at end of file