How to Set the Text Color of a TextView/EditText
added in API Level 1Color of text
1. Create an Android project, if you don't already have one.
3. Open the layout, main.xml and add the following highlighted code.
<TextView
....
android:textColor="#FF0000"
/>
4. Determine the Hex value for the color you would like.
5. Compile and run!
Related Articles
use android:textAppearance in TextView
Set the Background Color for a TextView, using Background
Add Shadow Color Behind Text in TextView/EditText
Use colorRadius in a Text Shadow in a TextView/EditText
Use colorDy in a Text Shadow in a TextView/EditText
Use colorDx in a Text Shadow in a TextView/EditText
Resources: