Skip to content

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

@guillaume-tgl

Description

@guillaume-tgl

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions