Skip to content

[Lists] Missing preference screen components & M3 Expressive styles #4940

@patrickfrei

Description

@patrickfrei

In my app, I'm currently using a preference screen. Unfortunately, this component has never been made available in Material Design M3 (Expressive). However, since a while, Android migrates apps to newly designed preference screens like the following one:
Image

The functionality is like the one in the "old-style" preference screen, but the design is from M3 Expressive, i.e...

  1. Card style items
  2. M3 (Expressive) style switches for SwitchPreference
  3. M3 (Expressive) style (with rounded corners, etc.) for ListPreference

Describe the solution you'd like
While the current M3 Expressive list variant covers the first bullet point mentioned above, the other preference screen components and their functionality are not available in M3 (Expressive) style .

Is there any workaround to implement a complete preference screen including SwitchPreference, ListPreference, etc. with M3 (Expressive) style? Maybe, by somehow overriding today's preference screen components with M3 styles? Any ideas would be very appreciated.

Basically, the M3 Catalog demo TopAppBarPreferencesFragment in M3 Expressive Style.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions