I want to set hint color in EditText
as disabled text color. So I am using android:textColorHint
attribute. But I don't know how to do that:
android:textColorHint="@android:color/???" // what should I select?
//OR
android:textColorHint="?android:attr/???" // what should I select?
Edit: I can define the same color in values but I want to reference it to handle future changes.
Hello Misagh, You can get the hint color using following ways :
You can go through this documantation : http://developer.android.com/reference/android/widget/TextView.html#getHintTextColors%28%29
Please let me know , If having any problem.