I\'m using the new material components com.google.android.material:material with android x but I can\'t set a custom background to the button.
com.google.android.material:material
I know that I
Looking at https://medium.com/@velmm/material-button-in-android-e4391a243b17 I found that app:backgroundTint (and app:backgroundTintMode) works. It changes a color, but not a drawable selector.
app:backgroundTint
app:backgroundTintMode
Also you can replace with .
with .
.