On Jan 15, 6:39 am, SizzlingSkizzorsProgrammer <cbo...@gmail.com> wrote: > I have a listview in which I set the background drawable of each of > the views. I can change the background using OnItemSelected, but I > cannot find a way to reset the background after it has been deselected > or something else has been selected...something like OnItemDeselected > (set background to normal) or a manner to efficiently set all the > other views to normal from the OnNothingSelected handler. > > Thanks!
you don't need any listener, see StateListDrawable class pskink
-- 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