I have a sample app here which has two activity. The first activity has one button with name Button1 and the second activity has two buttons with name Button1 and Button2. On create event on both page, I used a helper function to change their background with statelistdrawable. The problem is when second page is loaded and then back to first page then button on first page inherits the design or background of button from second page with same name..
I add the screenshot from first page to second page then back to first page.
I also add the sample program re-created from the bug i was encountered...