Search code examples
androidnine-patch

9 Patch showing Lines - not being recognized


today I started creating and using 9-Pacth images. But my Device does not recognize the 9 Pacth image. I set it as the Background of a Button. Here you can see:

enter image description here

Here is my 9 Patch image:

enter image description here

Can someone say what im doing wrong? Thanks


Solution

  • Swap the top and bottom border. The two dots should be on top (stretch marks), the line should be on the bottom (content area).