question about 9patches…I used the editor at http://draw9patch.com created my image, but I can’t get it to show.

question about 9patches…I used the editor at http://draw9patch.com created my image, but I can’t get it to show. am I missing something?

]]>

8 Commentsto question about 9patches…I used the editor at http://draw9patch.com created my image, but I can’t get it to show.

  1. Anonymous says:

    < ![CDATA[

    You need to compile it now.


    But probably I will make something to avoid this extra step in the future.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I had the same problem.


    I have installed xUltimate compiler on my computer but the xUltimate tool is not working (i have errors at running it and i find no help to resolve it in documentation or google).



    Do you know what is the best / easiest tool to compile 9.patch ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Eric Le Bourvellec, xultimate is the easiest, and works great for me. What are the errors?


    Otherwise you’ll have to build an apk, then take the .9.png files out of that.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Thanks Chris, i’ll give more détails later when i’m back on my computer.


    What i remember : something like :


    FILES …


    ant/res not found



    What i have done :


    Extract zip file of xUltimate inside my tools directory and then launch the exe from cmd terminal within same folder

    ]]>

  5. Anonymous says:

    < ![CDATA[

    hi, here is the exact error message i get in the cmd terminal launched from within android-sdk\tools



    ‘Files’ n’est pas reconnu en tant que commande interne


    ou externe, un programme exécutable ou un fichier de commandes.


    * Processing ant *


    ERROR: resource directory ‘ant\res’ does not exist


    *ERROR*


    Appuyez sur une touche pour continuer…

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Ah, ok delete the done directory then it should work. I guess that’s \ant in your case.


    I know, it’s not very well written :-/

    ]]>

  7. Anonymous says:

    < ![CDATA[

    screw you 9patch…I got your number now and the world shall be mine!!! turns out my content stretch was drawn on the wrong side…

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Chris Chastain Hi Chris, you were nearly right. What was missing was a res folder in all folders of android-sdk\tools. That way the xUltimate does not crash and generates in done folder a 9.patch file for all png files found in other folders.


    Now I can start trying to create my own 9.patch 🙂


    Thanks for your help

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *