Re: [android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread Kostya Vasilyev
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

Re: [android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread 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 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

Re: [android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread Kostya Vasilyev
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" написа

[android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread 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

Re: [android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread Kostya Vasilyev
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

[android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread RichardC
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

[android-developers] Re: how can we create 9-patch images.

2010-08-04 Thread blcooley
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