9patches are just standard PNG images that can be created with any
tool. There's a compilation phase to embed extra information inside
the PNG but it happens in aapt when the apk is built. The source asset
is not modified in any way. This means you don't have to use
draw9patch.

2010/8/4 Kostya Vasilyev <[email protected]>:
> I found that until I ran my nine-patch images through the Android SDK tool,
> they were not recognized by the resource builder in Eclipse, producing
> errors.
>
> But you're right - I'm not 100% certain.
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> 04.08.2010 20:01 пользователь "RichardC" <[email protected]>
> написал:
>
> Are you sure?
>
> http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch
> "A NinePatch drawable is a standard PNG image that includes an extra 1-
> pixel-wide border. It must be saved with the extension .9.png, and
> saved into the res/drawable/ directory of your project. "
>
> As I understand it the tool is useful but not required.
>
> On Aug 4, 4:38 pm, Kostya Vasilyev <[email protected]> wrote:
>> Ummm.... not quite.
>>
>> They also ...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" g...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to