Android setting text view color from java code
try like this , the following worked fine for me
textview.setTextColor(this.getResources().getColor(R.color.orange));
text.setTextColor(Color.parseColor("#FFFFFF"));
try like this , the following worked fine for me
textview.setTextColor(this.getResources().getColor(R.color.orange));
text.setTextColor(Color.parseColor("#FFFFFF"));