From 0fecbb0ce5b5b3d4e2d6c225726d2dcda7c55c1e Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 1 Dec 2020 15:05:02 -0800 Subject: [PATCH] Revert "Switch to AppCompatButton compound drawables in auth provider buttons (#1861)" This reverts commit 5342e3dc69221069745945ef613be7eeaf0573eb. --- CHANGELOG.md | 1 + .../auth_method_picker_custom_layout.xml | 7 +- .../auth_method_picker_custom_layout.xml | 7 +- .../util/ui/SupportVectorDrawablesButton.java | 96 +++++++++++++++++++ .../main/res/layout/fui_idp_button_apple.xml | 2 +- .../res/layout/fui_idp_button_facebook.xml | 3 +- .../main/res/layout/fui_idp_button_github.xml | 3 +- .../main/res/layout/fui_idp_button_google.xml | 3 +- .../res/layout/fui_idp_button_microsoft.xml | 2 +- .../res/layout/fui_idp_button_twitter.xml | 3 +- .../main/res/layout/fui_idp_button_yahoo.xml | 2 +- .../layout/fui_provider_button_anonymous.xml | 2 +- .../res/layout/fui_provider_button_email.xml | 2 +- .../res/layout/fui_provider_button_phone.xml | 2 +- auth/src/main/res/values/attrs.xml | 7 ++ 15 files changed, 130 insertions(+), 12 deletions(-) create mode 100644 auth/src/main/java/com/firebase/ui/auth/util/ui/SupportVectorDrawablesButton.java diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb..dbba81a66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Fix broken button styling (#1864) diff --git a/app/src/main/res/layout-land/auth_method_picker_custom_layout.xml b/app/src/main/res/layout-land/auth_method_picker_custom_layout.xml index f8714d86d..97c6d9f94 100644 --- a/app/src/main/res/layout-land/auth_method_picker_custom_layout.xml +++ b/app/src/main/res/layout-land/auth_method_picker_custom_layout.xml @@ -90,7 +90,12 @@ -