[android-developers] Re: listview selector based on item-type

2010-11-05 Thread Johannes De Smedt
I have tought of that, but one of the types is an image that spans the whole cell. This is why I need two different selectors: One needs to be drawn on top of the item and the other needs to be drawn as background ... I think I'll go with the border workaround (make the items a little bit smaller

[android-developers] Re: listview selector based on item-type

2010-11-04 Thread Johannes De Smedt
I have looked, but I don't seem to see a solution. I have successfully implemented a list with 2 types of items, but I can set the listSelector only for the whole list. Not for each type of items... On 3 nov, 17:42, Kumar Bibek coomar@gmail.com wrote: Yes you can. Look for examples where

Re: [android-developers] Re: listview selector based on item-type

2010-11-04 Thread Kumar Bibek
May be you can try settings selectors to individual list items then. Set the selector to the background of the item's layouts. On Thu, Nov 4, 2010 at 4:57 PM, Johannes De Smedt johannes.desm...@gmail.com wrote: I have looked, but I don't seem to see a solution. I have successfully implemented