[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread webmonkey
It seems to be an issue with 2.0 If I draw a dithered gradient on a 1.6 emulator it looks fine, but if I use the same code to draw it on a 2.0 emulator it has banding. On Nov 2, 7:19 pm, Christopher ch...@orr.me.uk wrote: Hi all, I've been looking at some issues with the background of our

[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread Christopher
Hmm. I was seeing this problem in a project targeted at SDK v4 (with minVersion 3), running on a high density 1.6 emulator as described in my first post. What screen density and resolution are you running on both emulators, or at least the 1.6 one that works fine? Chris On Nov 2, 8:33 pm,

[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread webmonkey
I am running both in WCGA854 at 240dpi. I am drawing a horizontal gradient in code with dithering, and only the one in the 2.0 emulator has banding. On Nov 2, 10:32 pm, Christopher ch...@orr.me.uk wrote: Hmm.  I was seeing this problem in a project targeted at SDK v4 (with minVersion 3),

[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread Christopher
Ah ok. I'm using a vertical nine-patch gradient -- as it's part of a theme, I don't think I'll be able to do it from code. Anyway, I'll try it out tomorrow with a 2.0 emulator and see what happens. On Nov 2, 11:45 pm, webmonkey webmonke...@gmail.com wrote: I am running both in WCGA854 at