title: Android : Not able to change the text color of a button programmatically
body: <p>I am trying to change the text color of a button(api: Button) dynamically, but instead of changing to the color, it changes to a gray color and does not change dynamically ?  This is what i am doing, looks pretty straight forward, can someone tell me what is wrong ?</p>
  
  <p>button.setTextColor(R.color.selected_text);</p>
  
  <p>
  
      #215F8B
      #FFFFFF</p>
  
  <p></p>