[TextInputLayout] Hint text margin incorrect when initially focused
See original GitHub issueDescription:
Within the latest 1.2.0 alpha, when initially focussed the hint text for a TextInputLayout
is not in the correct position and encroaches on the TextInputEditText
Expected behavior:
This behavior was working on the latest 1.1.0 beta
Source code: Will update issue when available
Android API version: Android 10 (API 29)
Material Library version: 1.2.0-alpha01
Device: Pixel 3a XL
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
TextInputLayout :How to give padding or margin to hint?
A better trick is to set the desired paddingTop to the EditText but also embed the extra padding within the EditText's background. A...
Read more >TextInputEditText how can align hint to the top margin - Reddit
I set 5 lines scrollable textInputEditText and I want to show the hint message align to top margin of that text input.
Read more >Android TextInputLayout Example | DigitalOcean
Floating Hints are enabled by default in a TextInputLayout. To disable it we need to add the following attribute inside the tag :...
Read more >AutoCompleteTextView - Android Developers
Returns true, only while processing a touch gesture, if the initial touch down event caused focus to move to the text view and...
Read more >TextInputLayout - Styling Android
We set some hint text on the TextInputLayout and that's our hints done! The error text requires a little more effort but that's...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
why close? Many people have this problem.
why close? Many people have this problem.