I have created a 9-patch image with name.9.png extension by using draw9patch tool. In my app the image stretch accordingly where I have marked the one-pixel border in draw9patch tool but, in my app the one-pixel border is visible with black color. Now how can I remove the one-pixel border from the 9patch image or make the border transparent I mean to invisible the border in my app. Pleas help me in this respect.
You can see my 9-patch image below.
Your 9-patch image is incorrect. Although there can be multiple stretchable areas (black lines on the top and left side of the image), the padding areas (black lines on the bottom and right side of the image) cannot be broken up into multiple sections. See this guide for more details.
Also, it looks like you are missing the row of 1 extra pixel at the bottom of the image where you would specify the horizontal padding area. Even if your image doesn't require horizontal padding, you should still include the extra pixel row and leave it empty.
Try this image: