title: How to create custom shape using XML as a drawable in Android?
body: <p>Have a look at <a href="https://gist.github.com/sbmaggarwal/7284dab37e4f8def3f28f31fc1999760" rel="nofollow noreferrer">this</a> Gist.</p>
  
  <p>Above gist creates a drawable which looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/NpyCx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NpyCx.png" alt="enter image description here"></a></p>
  
  <p>Clearly in the gist, <code>pathData</code> property has been provided coordinates. How is this achieved, I mean, ofcourse someone doesn't found each point according to his needs.</p>
  
  <p>My question : How is this achieved? Is there any tool present to do so?</p>
  
  <p>Drawable like this reduces app size by avoiding to have an image instead. Also, there are questions for drawables in XML like <a href="https://stackoverflow.com/q/31468454/3913366">this</a>, <a href="https://stackoverflow.com/q/3185103/3913366">this</a> and many more but I think my Question is very different (and useful, probably).</p>