title: Rounded Inner corners with transparent inside frame
body: <p>I am trying to make a frame from code so that I can apply it to make rounded inner corners with a solid fill outside and transparent inside. <strong><em>Just like a solid rectangle with transparent oval inside.</em></strong> picture attached. I have tried few shape combinations all that available online displays the corners outside. </p>
  
  <p><img src="https://i.stack.imgur.com/UEvOq.png" alt="enter image description here"></p>
  
  <p>The inside should be transparent not white.
  The image is taken from this <a href="https://stackoverflow.com/questions/4328166/android-xml-rounded-clipped-corners">post</a> but the solution presented here is not what I am looking for I dont want to use a 9 patch drawable but would like to be created in code.</p>
  
  <p>Please valid answers only.</p>