title: Setting Stroke on GradientDrawable Android
body: <p>I am creating a custom Button and I am using the Drawable.setTintList to have colors for default,pressed and disabled states.<br>
  I want to actually add a border to the button, which I am trying by doing:</p>
  
  <pre><code>val d = newGradientDrawableForShape()
  d.setShape(GradientDrawable.RECTANGLE)
  
  d.setColor(Color.WHITE)
  d.setStroke(20, Color.GREEN) 
  </code></pre>
  
  <p>With this the border is not visible, however if I do not use tint list then I do see the border.<br>
  Is there a way I can use setStroke and TintList?<br>
  I tried d.setStroke(width, colorList) and it didn't work either.</p>