material-components / material-components/material-components-android
[TextInputLayout] Prefix not aligned correctly when phone font size is changed
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Description: The prefix horizontal alignment is not correct when the font size of the phone is changed, it seems to be a bit higher from the text inside the TextInputEditText
Expected behavior: Should be aligned correctly the TextInputEditText
Android API version: Android 10
Material Library version: 1.2.0-alpha01
Device: Samsung Galaxy s10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the prefix alignment problem in TextInputLayout with a TextInputEditText after changing the phone font size, using the reported Android 10 and Material Library 1.2.0-alpha01 context. Inspect the TextInputLayout/TextInputEditText implementation and existing tests, then verify that the prefix aligns with the input text across the reported configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100