StateListDrawable - Purpose?

CanelaKid

Member
Licensed User
Longtime User
Am I using StateListDrawable for the wrong purpose?
Basically I have a layout with several edittext boxes, some enabled and some disabled. I am using statelistdrawable to change the background colors accordingly. But ALL views change to the color of the last views' state, irrespective of whether they are enabled or disabled. Any Thoughts?
 

CanelaKid

Member
Licensed User
Longtime User
Thanks Agraham, that sounds like it is indeed the problem. I did not realise I needed a different one for each view
 
Upvote 0
Top