Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Draw9patch is missing?

Tags:

android

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.

like image 569
Emperor 2052 Avatar asked Feb 17 '13 20:02

Emperor 2052


2 Answers

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.

like image 171
suman kumar Avatar answered Nov 15 '22 21:11

suman kumar


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.enter image description here

like image 23
C-- Avatar answered Nov 15 '22 21:11

C--