How do I change the default text color in Android?

How do I change the default text color in Android?
Answer
To change the default text color of your app so that the text color in your app is the same everywhere, do the following:
  1. Go to /res/values/colors. xml.
  2. Add the color to the colors. xml if not available as shown below.
  3. Go to /res/values/styles. xml.
  4. Add the android:textColorTertiary item style to the theme as shown below.
 

Tìm kiếm

Back
Top