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. Just like a solid re
tweaking @Nima K solution, to avoid using an extra View
create frame.xml @ drawable
Then use it with 'android:background' attribute of your view
And this is the result