Make the image slightly smaller than the list item size - in other words, leave a margin for the standard selection.
Consistency in the UI is a good thing. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 03.11.2010 19:40 пользователь "Johannes De Smedt" < johannes.desm...@gmail.com> написал: 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en