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 <[email protected]> wrote: > Hi all, > > I've been looking at some issues with the background of our > application, particularly on high-density devices (240 dpi, 480x854). > > I managed to eliminate banding on existing devices (i.e. G1/G2, 160 > dpi) by applying the android:dither="true" attribute to our nine-patch > image, which is a 1x480px PNG with no noise added. Looks great. > > However, if I use the same image on a higher resolution device, the > banding is pretty nasty looking. Same happens regardless of whether I > use a shape+gradient, a noisy nine-patch PNG, or an android:dithered > nine-patch PNG -- even if I create an 854px-tall image. > > Is the use of gradients going to become a problem on high screen > density devices, purely because of the display colour depth, or is > there any way to solve this? > > Thanks, > Chris -- 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

