Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Theme] List item text appearance doesn't conform to Material 3 guidelines #4157

Open
guillaume-tgl opened this issue Apr 29, 2024 · 0 comments

Comments

@guillaume-tgl
Copy link

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:

    <!-- Default Framework Text styles. -->
    <item name="android:textAppearanceListItem">?attr/textAppearanceTitleMedium</item>
    <item name="android:textAppearanceListItemSmall">?attr/textAppearanceTitleMedium</item>
    <item name="android:textAppearanceListItemSecondary" tools:targetApi="21">?attr/textAppearanceBodyMedium</item>
    <item name="textAppearanceListItem">?attr/textAppearanceTitleMedium</item>
    <item name="textAppearanceListItemSmall">?attr/textAppearanceTitleMedium</item>
    <item name="textAppearanceListItemSecondary">?attr/textAppearanceBodyMedium</item>

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants