How to set Hint Style EditText Android

In Layout Code You can use hint property of EditText

android:hint="My Hint"

but if you want to use any backcolor or style you need to perform it programatically. You can do it by following Code

editTextId.setHintTextColor(Color.alpha(006666));



One Response to How to set Hint Style EditText Android

  1. Many thanks! This is definitely an astonishing site.

Leave a Reply

Your email address will not be published.