Aw: Re: [android-developers] Re: ninepatch tool

2011-07-28 Thread Stefan S
Have you tried the Gimp Tool? http://www.gimp.org/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+uns

Re: [android-developers] Re: ninepatch tool

2011-07-28 Thread Raghav Sood
Did you define the stretchable areas correctly? On Thu, Jul 28, 2011 at 5:01 PM, arun kumar wrote: > HI > > converted the png image into nine patch image...but when i using the > different screen sizes the image becoming blurred...(in all screen sizes the > image should appear same) > > > Thank

Re: [android-developers] Re: ninepatch tool

2011-07-28 Thread arun kumar
HI converted the png image into nine patch image...but when i using the different screen sizes the image becoming blurred...(in all screen sizes the image should appear same) Thankyou in advance arun -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: ninepatch tool

2011-07-26 Thread Seven
android-sdk-windows\tools\draw9patch.bat On 7月26日, 下午3时54分, arun kumar wrote: > i want to make .png image as ninepatch image... > where will be the nine patch tool availablei right clicked on the > project and chosse android tools...(but here no nine patch tool is > available)i want the l

[android-developers] Re: ninepatch

2011-07-15 Thread Christine
First read docs, then ask here. http://developer.android.com/guide/developing/tools/draw9patch.html On Jul 15, 10:34 am, arun kumar wrote: > Hi > how to make background image as nine patch image. -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Kostya Vasilyev
欢迎您 (hope I got this right) 08.12.2010 16:58, 陈 пишет: It really works, thanks very much. On Wed, Dec 8, 2010 at 9:04 PM, Kostya Vasilyev > wrote: 08.12.2010 15:47, 陈 пишет: I use android 1.5, so there's no drawable-hdpi folder. There you

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
It really works, thanks very much. On Wed, Dec 8, 2010 at 9:04 PM, Kostya Vasilyev wrote: > 08.12.2010 15:47, 陈彧堃 пишет: > > I use android 1.5, so there's no drawable-hdpi folder. >> > > There you go. The image is scaled at runtime - there is no native support > for high-res screens in 1.5. > >

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Kostya Vasilyev
08.12.2010 15:47, 陈彧堃 пишет: I use android 1.5, so there's no drawable-hdpi folder. There you go. The image is scaled at runtime - there is no native support for high-res screens in 1.5. Switch your project to build with Android 1.6, move the nine patch into drawable-hdpi (you can create th

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
I use android 1.5, so there's no drawable-hdpi folder. Actually I made two imageview, one is the source and the other is the destination, and align them together with the same size. They looks quite different. On Wed, Dec 8, 2010 at 7:59 PM, Kostya Vasilyev wrote: > 08.12.2010 14:47, 陈彧堃 пишет:

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
Thanks, but I don't think so. Actually I made two imageview, one is the source and the other is the destination, and align them together with the same size. They looks quite different. On Wed, Dec 8, 2010 at 8:29 PM, Kostya Vasilyev wrote: > 08.12.2010 14:54, Daniel Drozdzewski пишет: > > On We

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Kostya Vasilyev
08.12.2010 14:54, Daniel Drozdzewski пишет: On Wed, Dec 8, 2010 at 11:47 AM, 陈彧堃 wrote: my phone is milestone with resolution 854×480, did you notice there is sawtooth at the blue arrow on the right-bottom corner when you load in ninepatch? I didn't ... Looks just fine to me. It's there alri

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Kostya Vasilyev
08.12.2010 14:47, 陈彧堃 пишет: my phone is milestone with resolution854×480, did you notice there is sawtooth at the blue arrow on the right-bottom corner when you load in ninepatch? Are you putting the nine-patch into "drawable-hdpi" ? The sawtooth is in your source image. It shows in Photoshop

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Daniel Drozdzewski
On Wed, Dec 8, 2010 at 11:47 AM, 陈彧堃 wrote: > my phone is milestone with resolution 854×480, did you notice there is > sawtooth at the blue arrow on the right-bottom corner when you load in > ninepatch? I didn't ... Looks just fine to me. -- You received this message because you are subscribed

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
my phone is milestone with resolution 854×480, did you notice there is sawtooth at the blue arrow on the right-bottom corner when you load in ninepatch? On Wed, Dec 8, 2010 at 7:32 PM, Kostya Vasilyev wrote: > I just downloaded the file and loaded it into DrawNinePatch. It looked > fine in the

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Kostya Vasilyev
I just downloaded the file and loaded it into DrawNinePatch. It looked fine in the preview, when stretched either vertically or horizontally. Are you putting the file into the right alternate resource folder? I.e. "drawable-hdpi", etc.? What is your device's resolution? -- Kostya 08.12.2010

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
I meet the first two. You can see the image here: http://cid-a4a2149221009904.office.live.com/self.aspx/.Public/ban.9.png On Wed, Dec 8, 2010 at 5:43 PM, Daniel Drozdzewski < daniel.drozdzew...@gmail.com> wrote: > On Wed, Dec 8, 2010 at 9:37 AM, 陈彧堃 wrote: > > Yes, I read the api guideline carefu

[android-developers] Re: ninePatch bug?

2010-12-08 Thread mort
Not sure which "bug" you mean. I now of two troubles with 9patch-drawables: - AFAIR (might be wrong): If you've got only ldpi/mdpi images and a hdpi device, the images are first stretched with 9patch to the mdpi pixel size and then to hdpi. I.e., the corners might become "sawtoothy", but will stay

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread Daniel Drozdzewski
On Wed, Dec 8, 2010 at 9:37 AM, 陈彧堃 wrote: > Yes, I read the api guideline carefully. > Did you mark the stretchable regions correctly? Did you see in the tool itself your PNG correctly stretched? Any chance of you pasting that image somewhere for people to look at? Daniel -- You received thi

Re: [android-developers] Re: ninePatch bug?

2010-12-08 Thread 陈彧堃
Yes, I read the api guideline carefully. On Wed, Dec 8, 2010 at 5:26 PM, Sarwar Erfan wrote: > Did you set the stretch and content areas correctly in the 9 patch? And are > you using correct filename format (file.9.png)? > > Regards > Sarwar Erfan > > -- > You received this message because you

[android-developers] Re: ninePatch bug?

2010-12-08 Thread Sarwar Erfan
Did you set the stretch and content areas correctly in the 9 patch? And are you using correct filename format (file.9.png)? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: NinePatch Background around ImageView

2010-11-07 Thread лойк
Not sure to understand the nine patch was just a PNG constructed with the tools. I didn't use any XML file to define properties on the nine patch. Though the nine patch as background worked fine as long as it wasn't changed in the code. I read somewhere about padding that isn't recalculated. But I

Re: [android-developers] Re: NinePatch Background around ImageView

2010-11-05 Thread Kumar Bibek
It also depends how your 9-patch is behaving. Make sure, you don't have any paddings in the 9-patch drawable. 2010/11/6 лойк > After messing around, I finally got it work as expected. I felt I had > to share that with people. > > android:drawingCacheQuality="auto" >

[android-developers] Re: NinePatch Background around ImageView

2010-11-05 Thread лойк
After messing around, I finally got it work as expected. I felt I had to share that with people. Ok this layout can be added in any layout and it should just work. img_avatar can be anything. After I manually change the background on the layout programmatically, I ha

[android-developers] Re: Ninepatch Error in Eclipse 3.5.2

2010-08-18 Thread Sarwar Erfan
I am not sure it is a problem of my eyes/monitor or not, but in the screenshot you posted (http://londatiga.net/draw9.jpg), I can only see right and bottom 1px borders (and NO left or top borders). Right and bottom borders are used to define padding inside the view (for example, when you draw somet