Hi everyone, I was able to solve this issue, so thought better update everyone, this might help others.
Mistake I was making was: I had to call setState(marker, stateBitset) in the getMarker(int stateBitset) method of OverlayItem., otherwise it does not work. StateListDrawable is mazing way of changing icon/look and feel of any component depending upon its state :) Special thanks to TreKing for the help. Regards, Aamir Yaseen On Feb 10, 5:26 pm, TreKing <treking...@gmail.com> wrote: > On Wed, Feb 10, 2010 at 11:21 AM, Aamir Yaseen <aamir.yas...@gmail.com>wrote: > > > what do you suggest in this case? > > I haven't done anything with StateListDrawable or the states in the overlay > item so unfortunately I'm out of ideas for you. Sorry. > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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