Ah. I stand corrected.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
04.08.2010 20:24 пользователь "Romain Guy" написал:
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 wh
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 Vas
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"
написа
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 un
Ummm not quite.
They also contains special information about patches, stored as PNG
chunks in the file, outside the image data.
The SDK tool creates those chunks. Other programs don't.
-- Kostya
04.08.2010 19:32, RichardC пишет:
Using any paint program that can save a .png file type.
9
Using any paint program that can save a .png file type.
9-patch images are just .png with a 1-pixel boarder that inticates the
region that can be stretched
On Aug 4, 4:23 pm, Sohan badaya wrote:
> Hi All,
>
> I want to know how can we create 9-patch images.
>
> Thanks,
> Sohan Badaya
--
You re
Use the tool provided in the SDK.
http://lmgtfy.com/?q=android+nine+patch
On Aug 4, 10:23 am, Sohan badaya wrote:
> Hi All,
>
> I want to know how can we create 9-patch images.
>
> Thanks,
> Sohan Badaya
--
You received this message because you are subscribed to the Google
Groups "Android Dev
7 matches
Mail list logo