If you use a statelist style button to change to a different activty (using StartActivity) the states reverse on returning to the activity that originated the button press.
Meaning when the activity is returned back to the originator the "enabled drawable" and the "pressed drawable" states are reversed. (the colors)
This only happens with two buttons in my app that switch the activities back and forth.
Also of note is that I'm using the button_down event instead of the button_click event to bypass the android "audible selection" setting.
All the other buttons function fine under the same criteria. (other than using StartActivity)
Meaning when the activity is returned back to the originator the "enabled drawable" and the "pressed drawable" states are reversed. (the colors)
This only happens with two buttons in my app that switch the activities back and forth.
Also of note is that I'm using the button_down event instead of the button_click event to bypass the android "audible selection" setting.
All the other buttons function fine under the same criteria. (other than using StartActivity)
Last edited: