ColorStateList csl = getResources().getColorStateList(R.color.white);
right_text.setTextColor(csl);
其中right_text为TextView控件名称
ColorStateList csl = getResources().getColorStateList(R.color.white);
right_text.setTextColor(csl);
其中right_text为TextView控件名称