[android-developers] Re: two list selectors or new state for the current selector

2011-01-16 Thread poohtbear
Hi Kostya. 1. i know how to add a new attribute to the selector, i can do it programatically using the original list's selector and save me some work. 2. in StateListDrawable you have a protected method that acts on those states, and it's stated specifically that you need to override it to act on

Re: [android-developers] Re: two list selectors or new state for the current selector

2011-01-16 Thread Kostya Vasilyev
2 - I haven't had to override StateListDrawable when adding a new state for my drawables. I only had to override getDrawableState in the view (subclass) to make sure that my new state gets propageted into the drawable's state array. 3 - No, I don't. I just know there is a separate drawable for