Reputation: 6470
I have this image https://i.sstatic.net/i8Iab.png
I want to preserve the circle at the bottom of the image so I make this 9-patch
https://i.sstatic.net/UNWdE.png
but somehow in the mobile the circle becomes ellipse like this
i don't know why the bottom part get stretch. Any help please, Thanks.
Upvotes: 0
Views: 2515
Reputation: 38098
Because the 9 patch you created is wrong.
And unoptimized (you can make it much smaller): the upper black line should leave a transparent hole corresponding to the circle.
The black lines result in a stretched area, while the parts you leave out aren't stretched.
So, just leave the area you don't want to stretch transparent.
This is the reference site
Upvotes: 1