android color programmatically code example
Example 1: mtextview.settextcolor(getresources().getcolor(r.color.));
mTextView.setTextColor(getResources().getColor(R.color.));
Example 2: android settextcolor programmatically
mTextView.setTextColor(Color.parseColor("#bdbdbd"));