Android. Gradient image does not display correctly

I have another cryptic problem. So I am setting a background image for the LinearLayout. This image contains a gradient. Not sure why, but after launching the application, the image seems to have several parts that actually form a "smooth transition" of the gradient, and therefore it seems that the background image is not a gradient.

Could you please advise how to solve this problem?

+2


source to share


1 answer


The emulator and many Android phones use a 16-bit color palette. 65,536 colors may not be enough to render your gradient smoothly.



+2


source







All Articles