Then write your own custom Drawable subclass that does what you want.
On Thu, Jul 5, 2012 at 10:04 PM, lianyu li wrote:
> But sometimes it's really not enough to express states only with booleans,
> actually I have the same issue with Nick, that is "adding custom states in
> a list of enums". No
But sometimes it's really not enough to express states only with booleans,
actually I have the same issue with Nick, that is "adding custom states in
a list of enums". Not sure whether Android has plan to add such feature.
On Fri, Jul 6, 2012 at 10:18 AM, Dianne Hackborn wrote:
> Yes this must be
Yes this must be booleans. There is no way to express anything else in
StateListDrawable.
On Thu, Jul 5, 2012 at 6:21 AM, li lianyu wrote:
> It's seems that currently Android doesn't support non-boolean state. You
> can verify it by adding another item with non-a state in selector pair. I
> ass
3 matches
Mail list logo