android studio text color code example
Example 1: java set textview color
textview.setTextColor(this.getResources().getColor(R.color.orange));
Example 2: change color of text in textview android
TextView text = (TextView) findViewById(R.id.text);
text.setTextColor(Color.parseColor("#FFFFFF"));