android:textColorHint - Set the Color of Hint Text in TextView/EditText

How to Set the Color of Hint Text in TextView/EditText

added in API Level 1

Color of hint text.

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

2. Add an android:hint.

3. Open the layout, main.xml and add the following highlighted code.
Highlighted color will be red.

<EditText
     ....
     android:textColorHint="#FF0000"
/>

Other Resources