how to set text color in java android code example Example: java set textview color textview.setTextColor(this.getResources().getColor(R.color.orange));