问题描述:

How I can set different colors for EditText hint and it's TextInputLayout label.

I tried do it in themes and styles, with android:textColorHint in EditText and TextInputLayout directly, and app:hintTextAppearance attribute on TextInputLayout.

But no one works! Always used same color.

I think, it is because TextInputLayout code:

this.mDefaultTextColor = this.mEditText.getHintTextColors();

I use 23.1.1 version of design library:

compile 'com.android.support:design:23.1.1'

Is there simple way to do this?

I only see way to write descendat of AppCompatEditText, but don't like it

相关阅读:
Top