material-components / material-components/material-components-android
[TextInputLayout] prefix is overlap with text
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
I have TextInputLayout and TextInputEditText inside a recycler view. when using prefix, the prefix text overlaps with the text itself.

**Expected behavior:**
prefix and actual text must not be overlap
**Source code:**
```
```
**Android API version:**
30 (Android 11)
**Material Library version:** Material Android Library version you are using here (e.g., 1.1.0-alpha07)
'com.google.android.material:material:1.12.0'
'com.google.android.material:material:1.13.0-alpha04'
**Device:** Device on which the bug was encountered here
Samsung A50
To help us triage faster, please check to make sure you are using the [latest version](https://github.com/material-components/material-components-android/releases) of the library.
We also happily accept [pull requests](https://github.com/material-components/material-components-android/pulls).
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 issue from the provided TextInputLayout and TextInputEditText XML inside a RecyclerView with Material 1.12.0 or 1.13.0-alpha04 on Android API 30. Compare the prefix and entered text on the reported Samsung A50 configuration; done means the prefix and actual text no longer overlap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100