How to change the floating label color of TextInputLayout

前端 未结 25 2002
[愿得一人]
[愿得一人] 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:24

    Can use app:hintTextColor if you use com.google.android.material.textfield.TextInputLayout, try this

                        
    
         
     
    

提交回复
热议问题