Stretch button with non-extensible center area
Is there a way to stretch the button so that the center remains intact? 9-patch does not allow this.
EDIT: I used the 9 patch as Benito recommended. And it works great. It's strange that the first time I couldn't get it.
+3
dimetil
source
to share
1 answer
You can do something like the image below
But make sure you make the background transparent.
+4
Benito bertoli
source
to share