Reputation: 219
When i generate the 9 patch image at the time the image having a black line:
How to remove that black pixels?
Upvotes: 3
Views: 4940
Reputation: 3875
You have uploaded that is not *.9.png image its .png image
In 9 patch its not black line its patch...
Horizontal line shows the contain area and Vertical line shows the image will stretch from that area.
whenever you use 9 patch images, that line not appear in device..
In Your Image.
1) left Vertical Line indicates stretch Area. image will vertically(Height) stretch from that area
2) Top Horizontal Line indicates stretch Area. image will Horizonatally(width) stretch from that area.
3) Bottom Horizontal Line indicates text contain Area(width).
4) Right Vertical Line indicates text contain Area(text can occupy that height only).
Upvotes: 13