Can anyone please explain why the draw9patch isn't on my computer despite ADT and all? A search after the jar-file doesn't give any result.
I believed it should be installed by default. AFAIK, nobody else has had this problem.
Can anyone help? I've tried making 9 patches on my own using Paint.NET by adding one black pixel to the left and top of the image, but as I am new to Android, I can't make it work. I even tried a utility called better9patch to no avail. I am getting quite frustrated right now as I think the graphics of a program should be the least of your concern when programming.
You should download "draw9patch" folowing this link: https://androidstudio.io/downloads/tools/download-the-latest-version-of-draw9patch.jar.html.
Afterwards you extract the file and it will work.
Infact, the popular draw9patch
application is now available as a feature in the android studio application itself. If you try to open any files with a .9.png
extension in your project, it will be opened in a 9 patch drawer perspective. Here is a screenshot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With