I have list of outlined button:
I set a selector as a background of button.
How can I change the color of stroke programmatically? For example:
Now:
And after click on Button it has to became next:
I don't think I need to create a selectors for every color. I think, I could get a color of stroke programmatically. Please give me a hint!