Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: 9-patch repeat pattern instead of stretching

I have a 9-patch image file which looks like this:

alt text

When I use it it appears like this:

alt text

What I actually wanted to achieve is the complete dot in the center repeated instead of stretched. I hope that it's possible.

like image 211
znq Avatar asked Sep 03 '10 13:09

znq


1 Answers

I think it's not possible using 9-Patch to make repeated patterns (only stretching certain area), perhaps you could find more about it in official documentation

like image 161
Muhammad Abdullah Avatar answered Sep 19 '22 13:09

Muhammad Abdullah