HOW TO CHANGE COLOR OF HINT TEXT IN ANDROID

You can easily change the color of hint text of EditText widget in Android by adding android:textColorHint in your XML file.
For Example:

Alternatively you can change the color through themes. Open style.xml and define a theme as given below.

Then, use android:theme attribute to point your custom theme.

You can also change the hint text color programmatically.

 

 

Leave a Reply