Here seems to be a good tutorial But you want to use state drawables
to change the color in different states such as focused, pressed, enabled, disabled
Doing it this way, the color will change when you press on it but when you return the state won't be pressed so it will be the default color, which I believe is what you want.