title: Draw a custom shape in android using XML
body: <p>I am adding a custom marker to the android map view. here is the image I am using for it.It looks like as more markers are placed say about 100 the entire app is getting slow. Here is the image I am using for that.</p>
  
  <p><a href="https://i.stack.imgur.com/79Qtw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/79Qtw.png" alt="enter image description here"></a></p>
  
  <p>Instead of using this image, I am planning to draw this image as a shape in XML. How to do that? </p>
  
  <p>Also I am following <a href="http://www.nasc.fr/android/android-using-layout-as-custom-marker-on-google-map-api/" rel="noreferrer">this tutorial</a>  to display a custom marker. Is this custom drawing delaying the app? </p>
  
  <p>Whats the best way to do it?</p>