How to run draw9patch and do I need to redraw pictures?

I read on another forum that to run draw9pad from your console you need to make java -jar draw9patch.jar from the command line after you are in sdk. I did this, but I still cannot run the file. Is this tool absolutely necessary for scaling your images on different screens? Do I know that eclipse has these folders available that scale your photos to different dpis or is that not what they do? Console Output: http://imgur.com/YdGLHXr

Skd / tools file: http://imgur.com/vOU647L

+4
source share
2 answers

, draw9pad java -jar draw9patch.jar , sdk

, draw9patch script, tools/ SDK.

,

-, , , .jar.

-, JAR . , .

draw9patch Android.

?

:

NinePatchDrawable - , Android , , .

PNG . . , Button, EditText .., .

+3

Mac OS Linux, sh draw9patch, . CommonsWare .

+15

Source: https://habr.com/ru/post/1547214/


All Articles