Closed
Description
Step 2: Describe your environment
- FirebaseUI version: 7.1.0
Step 3: Describe the problem:
Steps to reproduce:
- Customize button appearance by overriding styles
- Update from 6.2 to 7.1
- Buttons are no longer styled appropriately
Here's how I'm doing the customization:
<style name="FirebaseUI.Button.AccountChooser.GoogleButton">
<item name="drawableStartCompat">@drawable/ic_sign_in_google</item>
<item name="android:background">@color/auth_button_bg_google</item>
<item name="android:textColor">@color/actually_white</item>
</style>
I checked and the style hasn't changed names or anything:
Looks like this is happening because of a switch from com.firebase.ui.auth.util.ui.SupportVectorDrawablesButton
to Button
in 5342e3d . I can get it working again if I use drawableLeft
but obviously that's not ideal for RTL users. What was the motivation for that change? It seems to have even broken the default UI. If I remove all my style customizations, here's what the screen looks like: