Hi,
I want to create a "latching button", which shows one image when in normal state but when pressed stays pressed (and shows a different image) until pressed again. I think I ought to be able to do this with a StateListDrawable, but I can't get it working. Does anyone have some sample code (or can someone point me to a previous article)?