J
J
JZX2021-08-19 18:50:05
Android
JZX, 2021-08-19 18:50:05

How to change button color through style?

How to change button color through style? The color of the text is redefined, and the color of the button itself does not change no matter what item I write in the style. Can this be done without the help of selectors?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Siomin, 2021-08-19
@JZX

android:backgroundTint="@color/your_color"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question