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 <[email protected]> wrote: > Yes you can. Look for examples where ListViews can show multiple view types. > > On Wed, Nov 3, 2010 at 10:10 PM, Johannes De Smedt < > > > > [email protected]> wrote: > > Hi, > > > In my application I have a list with 2 types of items. For the first > > type I can use the default selector drawn behind the content, but for > > the second type I would need another selector that is drawn in front > > of the content. > > > Can this be done in android? > > > The reason why I need another selector, is because the second type is > > an image that fills the whole cell. Therefore the default selector is > > not visible. When I draw the selector in front of the image, the > > images is not visible. Therefor I would like a transparent selector > > for those items, and keeping the default one for the other ones. > > > Other suggestions are also welcome! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

