How to create nine-patch and use it in my App?

Omid Nazifi picture Omid Nazifi · Oct 17, 2011 · Viewed 20.5k times · Source

I want to create a nine-patch image and use that in my App but I don't know how to create it?

I've searched through the Android source code on the Web and I can't seem to find any examples of this. I need a tutorial so that I can understand the process.

Answer

Gaurav Arora picture Gaurav Arora · Apr 3, 2013

I have searched the best and the simplest answer to make 9-patch image. Now to make the 9 patch image is the easiest task.

From HERE you can make a 9-patch image for all the resolutions - XHDPI,HDPI,MDPI,LDPI in just one click.

Let me know if you have any queries, and do upvote it, if it was helpful to you.enter image description here