You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the library with Material Components, the material components will set a background color on the OK and Cancel buttons.
You have stated that there is not much you can do, but there actual is. All you have to do is to migrate to material components and set the style of the button to style="@style/Widget.MaterialComponents.Button.TextButton".
The TextButton style has a transparent background with colored text. Text buttons are used for low-priority actions, especially when presenting multiple options.
The text was updated successfully, but these errors were encountered:
ashley-figueira
changed the title
Buttons come with a background whe using MaterialComponents
Buttons come with a background when using MaterialComponents
Apr 8, 2019
I do not intend to add an additional dependency to this library.
There is another workaround proposal over here: #523 (comment)
It's a one line change to your code and avoids the support nightmare of an additional dependency for me.
When using the library with Material Components, the material components will set a background color on the OK and Cancel buttons.
You have stated that there is not much you can do, but there actual is. All you have to do is to migrate to material components and set the style of the button to style="@style/Widget.MaterialComponents.Button.TextButton".
The TextButton style has a transparent background with colored text. Text buttons are used for low-priority actions, especially when presenting multiple options.
https://material.io/develop/android/components/material-button/
The text was updated successfully, but these errors were encountered: