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 ?
button.setTextColor(R.color.selected_text);
#215F8B
#FFFFFF
hiii arun you can do the following to change the text color of you android button on click event try it
If it works please vote