material-components / material-components/material-components-android
[TextInputEditText] Several issues with typefaces in TextInputEditText (e.g.,Typeface is not applied with textPassword inputType)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
Typeface is not applied with textPassword inputType.
**Expected behavior:**
When android:inputType="text|textPassword|textNoSuggestions" (incorrect behaviour)

When android:inputType="text|textNoSuggestions" (expected behaviour)

**Source code:**
<item name="android:fontFamily">@font/ubuntu_regular</item>
<item name="fontFamily">@font/ubuntu_regular</item>
**Android API version:**
All
**Material Library version:**
1.0.0
**Device:**
Emulators
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 with the provided TextInputLayout and TextInputEditText XML, comparing the textPassword and textNoSuggestions inputType variants. Trace TextInputEditText's typeface behavior and verify that the configured font is applied when the password combination is used across the reported Android APIs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100