Reputation: 788
Any idea how to draw square gradient using xml in android?
http://www.filterforge.com/wiki/index.php/Square_Gradient
Upvotes: 1
Views: 1658
Reputation: 46963
Using shapes you can draw three kinds of gradient: the usual one-way gradient color, radial gradient (which is a circle of gradienting color) and sweep gradient. You can see examples here and here. However, I am almost convinced that none of these will serve your needs. I am not aware of any other way of providing gradient coloring in android.
Upvotes: 1