Skip to content

[TextInputLayout] Set hint style for both floated and default positions #488

Open
@Rendfold

Description

@Rendfold

Is your feature request related to a problem? Please describe.
I'm adding text field programmatically and then setting styles to hint with setHintTextAppearance, but styles are working only on floated state and I couldn't find the way to apply them to hint at normal state. While setDefaultHintTextColor, does work for both. Setting textSize to editText child of TextInputLayout doesn't help also.

Describe the solution you'd like
I would like to setHintTextAppearance work for both state of hint.

Describe alternatives you've considered
It's probably also okay, if there will be new method for this? I don't see any other solutions.

Additional context
I would like to help, but I'm not so experienced, so I will need a little bit guidance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions