use 9-patch instead of XML to limit overdraw