it is possible to make a gradient
with 2 or 3 colors in Android. now is it possible to make a high quality gradient with 4 colors? I'm emphasizing on quality as there are some ways like putting 2 gradients beside each other but I think doesn't produce high quality result...
You can't create a 4 color gradient as a resource (in xml) but you can use the android.graphics.LinearGradient class to create one with more than 3 colors. The constructor takes an array of colors and an array of positions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With