title: Drawing shape programmatically with part corners rounded only
body: <p>Problem here is to draw this kind of shape in onDraw method.</p>
  
  <p>I've tried using <code>Path</code> and <code>CornerPathEffect</code> but the bottom corners need to be sharp, so it was not working solution.</p>
  
  <p><img src="https://i.stack.imgur.com/hId1E.png" alt="enter image description here"></p>