android-textinputlayout

How to change the floating label color of TextInputLayout

旧街凉风 提交于 2019-11-26 00:35:52
问题 With reference to the new TextInputLayout released by Google, how do I change the floating label text color? Setting colorControlNormal , colorControlActivated , colorControlHighLight in styles does not help. This is what I have now: 回答1: Try The Below Code It Works In Normal State <android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/TextLabel"> <android.support.v7.widget.AppCompatEditText android:layout