title: Giving LinearGradient Shade From Bottom of the TextView in Android
body: <p><a href="https://i.stack.imgur.com/W7yeS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W7yeS.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/sPczi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sPczi.png" alt="enter image description here" /></a></p>
  <pre><code>TextView secondTextView = new TextView(this);
      Shader textShader=new LinearGradient(0, 0, 0, 20,
              new int[]{Color.GREEN,Color.BLUE},
              new float[]{0, 1}, TileMode.CLAMP);
      secondTextView.getPaint().setShader(textShader);
  </code></pre>
  <p>The above particular code giving me green shade at the top and blue as text color but my requirement is absolutely in reverse order all i need is green color shade from the bottom and blue as text color. can someone please help me out to achieve this.</p>