andreluizreis
7/21/2017 - 9:45 PM

Change TextView color. ||| Font: https://stackoverflow.com/questions/8472349/how-to-set-text-color-to-a-text-view-programmatically

// API < 23
textView.setTextColor(getResources().getColor(R.color.some_color));

// API 23 or greater
textView.setTextColor(ContextCompat.getColor(context, R.color.some_color));