Different background for a button's states in Kotlin
问题 I have a button in my project that works like this: The button has 3 different designs for each state - disabled ( state_enabled="false" ), enabled, pressed. This button remains disabled if no file is selected, and has a particular design for it. Although, when file is selected, this button becomes enabled and switches to a different design. And the button's highlight color is possible to see every time when the button is enabled and pressed. What I have tried so far: <?xml version="1.0"