I have looked but couldn’t find anything that worked. I’m very much a beginner with all this so I apologize if it’s a simple question.
I want to create a button in C# for Android (Monodroid) that when clicked shows a “pressed state” so the user is aware the button has been used.
How do I do this? I have two images in my drawables folder which are .png files from Photoshop – how can I incorporate this into my project?
I believe you use a
State List. An XML file that references different bitmap graphics for different states (for example, to use a different image when a button is pressed). Creates a StateListDrawable. Perhaps see the State List documentation.