How to change the floating label color of TextInputLayout

前端 未结 25 2098
[愿得一人]
[愿得一人] 2020-11-22 15:03

With reference to the new TextInputLayout released by Google, how do I change the floating label text color?

Setting colorControlNormal,

25条回答
  •  感动是毒
    2020-11-22 15:28

    To change color of hint and edit text underline color : colorControlActivated

    To change character counter color : textColorSecondary

    To change error message color : colorControlNormal

    To change password visibility button tint : colorForeground

    For more info on TextInputLayout read http://www.zoftino.com/android-textinputlayout-tutorial

    
    

提交回复
热议问题