i wish to change the button background color,textcolor,text size using android code programmatically.
Button btnLoadMore = new Button(this);
btnLoadMore.setText("Load More");
// Adding Load More button to lisview at bottom
lv.addFooterView(btnLoadMore);
In this above code succesfully set the Load More Text.but i have to wrote below line
btnLoadMore.setTextColor("#FF1493");
means am getting following error
The method setTextColor(int) in the type TextView is not applicable for the arguments
(String)
How can i resolve this error.please help me.