in android app building, have custom markers. shape of these markers circular. on marker click want change color of marker.
following 2 ways come mind:
- have 2 external images, 1 unselected mode , 1 selected mode. set unselected image default marker icon , on marker click change marker icon selected mode.
- define circle drawable in xml. set drawable icon markers. on marker click change color of drawable.
please suggest best way this?
Comments
Post a Comment