In the XML file (there are 2 of them) I wrote the code for my buttons (pressed or not pressed). I start the emulator, but when I click on the button, its picture does not change.
What am I doing wrong?
Cleaned the project, restarted Android Studio.
And yet, in the settings (properties) of the button shows that everything is fine. That is, if the button is not pressed, the picture is one, if it is pressed, then another.
