Android setTextColor programmatisch
mTextView.setTextColor(Color.parseColor("#bdbdbd"));
George_agg
mTextView.setTextColor(Color.parseColor("#bdbdbd"));
//From API 23 onward, getResources().getColor() is deprecated.
textView.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.color_black));