Android google map icon marker with just color white -


im using google maps in android project, , im having problem.

my icon not show correct color of image, white icon

i take screenshot of app enter image description here map icon in center of screen...

the original color yellow, show white.

follow code

  googlemap.addmarker(new markeroptions()                                         .title(lista.get(i).getnome())                                         .snippet("")                                         .position(lista.get(i).getlatlng())                                         .alpha(lista.get(i).getid())                                     .icon(bitmapdescriptorfactory.fromresource(r.drawable.ic_mapaok1))                                                    ); 

anyone can help?

android lollipop version doesn't support icon format. changes white background of image white , not in form of silhouette icon, hence appearing white.

refer following links create icon:

http://appicontemplate.com/android-product-icons/

http://android-developers.blogspot.in/2013/07/making-beautiful-android-app-icons.html


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -