That's normal. Most phones have a 16 bits (or close) display. Your
gradient is converted to the 565 format. To improve its appearance you
can either turn on dithering on the Paint or pre-dither your image in
Photoshop, etc.

On Fri, Jun 5, 2009 at 11:14 AM,
daniel.benedykt<[email protected]> wrote:
>
> Hi
>
> I have a LinearLayout and I am setting a Background image.
> I am using a PNG24, and the image has a gradient in it.
> When I see the image on the computer the gradient is perfect, but when
> I see it on the emulator or on a real phone, some colors are lost and
> I see only like 10 colors, so I see lines and not a perfect gradient.
> Is the emulator 'compressing' the images?
> Should I make them in other format?
>
> Thanks
>
> Daniel
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to