How can I make a table with a round border, similar to the photo below, in Android?

I prefer to use a masking technique - overlay a mask image (any iOS-style background, with a transparent cutout in it) over a standard layout.
This way, the background of my layout is not linked directly to a bitmap, I can change it very easily.
I have an answer explaining that here: Android XML rounded clipped corners