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 thought on “How to set Hint Style EditText Android”

Leave a Reply