android:textColor - Set the Text Color of a TextView/EditText

How to Set the Text Color of a TextView/EditText

added in API Level 1

Color of text

1. Create an Android project, if you don't already have one.

2. Add a TextView

3. Open the layout, main.xml and add the following highlighted code.

<TextView
     ....
     android:textColor="#FF0000"
/>