Search code examples
androidnine-patch

Android: Nine Patch Images - Bad Patch


I have created a Nine Patch image using the tool provided with android sdk. The problem is, the tool is showing bad patches in the image. As you can see in the image below enter image description here

My image is stretching weirdly.

Please follow: Android- Image shape changed on screen rotation

My question is, what is this bad patch? Android documentation did not help. :(

And how can I fix them??


Solution

  • The image worked perfectly fine when stretched, the "weirdness" was because of an optical illusion from the background. The bad-patch was possibly just a warning.