Hi guys, I have a question. How to custom a Button with state color like XML <selector> normal, press, disable...
k
Kirill Grouchnikov
09/05/2023, 5:04 PM
Compose does not have color state lists by design. Instead, you can track the individual state bits (enabled, pressed, hovered, selected, etc) and choose the color that matches the specific combination of those bits. See how it is done in the