YogenGhodke
9/8/2019 - 3:33 PM

Change Text Color

// Step 1 : Create a color in color.xml file

<color name="user_color"> #008577 </color>

// user_text is the string name in strings.xml file

user_text.setTextColor(getResources().getColor(R.color.user_color));