material-components / material-components/material-components-android
[Theme] List item text appearance doesn't conform to Material 3 guidelines
@imhappi is already working on this.
Since May 3, 2024.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** Material 3 guidelines specifies that the primary text of list items should have a text appearance of BodyLarge: https://m3.material.io/components/lists/specs#d7d16114-40f7-43a3-bcfa-517b61d21676
**Expected behavior:** `textAppearanceListItem` and `android:textAppearanceListItem` should be set to `?attr/textAppearanceBodyLarge`
**Source code:**
```
?attr/textAppearanceTitleMedium
?attr/textAppearanceTitleMedium
?attr/textAppearanceBodyMedium
?attr/textAppearanceTitleMedium
?attr/textAppearanceTitleMedium
?attr/textAppearanceBodyMedium
```
**Minimal sample app repro:** Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug fix process. You may attach a zip file of the sample app or link to a GitHub repo that contains the sample app.
**Material Library version:** 1.11.0 but bug also present on master
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.
Assessment
This issue has not been assessed yet.