I have a 9-patch image file which looks like this:
When I use it it appears like this:
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