Multicolor Gradient for Text
<p>I want to perform multicolour gradient for the text. I am using shader as one of the Stackflow member provided the trick. Following is the code where I am giving multicolour input</p>

<pre><code>Shader textShader=new LinearGradient(100, 375, 100, 450,                
         new int[]{res.getColor(R.color.Red),res.getColor(R.color.Green),Color.MAGENTA},
         null, TileMode.CLAMP);  
</code></pre>

<p>but this shades away one of the three color i.e. it get mixes. Not the output which i want. I want three colors to be seen as it is , There is parameter of relative position in my above code its null (colours are evenly distributed) is there any way via which I can get the required output with relative position or something else </p>

<p>Please suggest?</p>
