I've had a similar problem. Here's how I solved it:
-
-
-
The first item is an empty shape to expand the drawable. Then, I've used 2 rectangles. Each of them has 2 sides rounded.
You need to use this drawable via an ImageView
:
Here's the result:

Note: AndroidStudio doesn't render different corner sizes, but it shows up properly on devices.