I'm trying to create a drawable that looks like the KitKat toast bacground:

but I have no idea how to recreate the fully round sides, I always end up with a rectangle with rounded edges like this:

or the sides aren't really round:

Any idea on how to accomplish this?
Btw, just setting the color of the Toast doesn't work.
Android 9-patch shadow generator
will help you achieve the desired 9patch, allowing you to customize the roundness of the sides to your liking.

"Fill & Outline" will also give you the ability to apply some color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With