Friday, January 25, 2013

Re: [android-developers] ListView select a row

You need to set this on list items as the background, not on the list
view. And the syntax is "?android:attr/blahblah", you want to
reference a theme attribute.

-- K

2013/1/26 dashman <erjdriver@gmail.com>:
> having trouble setting it.
>
> <ListView
> android:id="@+id/listView"
>
> android:listSelector="@android:drawable/activatedBackgroundIndicator"
> android:layout_width="match_parent"
> android:layout_height="match_parent" >
> </ListView>
>
> not working - what am i doign wrong
>
>
> --
> --
> 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 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

No comments:

Post a Comment