Currently I\'m developing a Android application. I want to make a text (a header) with a background that looks like this:
_______ /______/
Instead of using a layer-list with gradient / border stroke and a custom image, consider using a NinePatchDrawable.
There is also a handy 9-patch creater that comes with the android SDK.