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:
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:
to change color of the text label when you are focusing on it. i.e. typing in it. you have to add specify
Just a note: You have to add all these implementations to your main theme.
add this to styles and set TextInputLayout Theam to App2 and it will work ;)
Try The Below Code It Works In Normal State
In Styles Folder TextLabel Code
Set To Main Theme of App,It Works Only Highlight State Only
Update:
Solution
Found the answer, use
android.support.design:hintTextAppearance
attribute to set your own floating label appearance.Example:
I solve the problem. This is Layout:
This is Style:
You should use your theme in application: