Monday, May 20, 2013

Re: [android-developers] ListView with "selected" state does not work when list item view has a background

The list selector is drawn by default under list items. You can either change it to draw on top (but you'll have to use custom drawables so the items are visible underneath) or use a background on your list items with a selected state.


On Mon, May 20, 2013 at 11:19 AM, Miha Valencic <miha.valencic@gmail.com> wrote:
Hi Kostja et al!

On Mon, May 20, 2013 at 5:01 PM, Kostya Vasilyev <kmansoft@gmail.com> wrote:
Maybe it's just me, but...

No, it's not just you. I also expect that framework should handle this. And it does, as long as list item layout does not have a background set.

Let me prepare a demo, and I'll post it.

Regards,
 Miha.

--
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Romain Guy
Android framework engineer
romainguy@android.com

--
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment