how to add gradient to my rectangle shape dynamically in android?
<p>I have created rectangle shapes using onDraw method, filled with single colors. Now I have a  requirement to add gradient effects to those rectangles. Now I have to fill each rectangle with multiple colors(i.e gradient effect). Could some one suggest me the way to do that. Any response would be great.</p>

<p>thanks in advance.</p>
