material-components / material-components/material-components-android

[List] Missing preference screen components & M3 Expressive styles

Aperta
#4,940 2 commenti 2 reazioni 1 assegnatario Vedi su GitHub

@imhappi ci sta già lavorando.

Dal 5/11/2025.

feature request Widget: ListItem
Lingua principale
Java
Stelle
17.4k
Fork
3.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.