Why not use a state list drawable?
-- -- K
On Wednesday, August 14, 2013 12:53:23 PM UTC+4, Amit Mangal wrote:
On Wednesday, August 14, 2013 12:53:23 PM UTC+4, Amit Mangal wrote:
thanksmy query is that how to load unselect image on all items and select image on the item which is currently selected.suppose list view is having 10 items in out of 10 . 9 itms willbe unselected and only one willbe selected.suppose if item is already selected then i want to unselected image.i want when some one click on that i want to replace that image with selected.png.Hi there,i have a list view and in that list view in each row i have image unselectimage.png.
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