Skip to content

Conversation

manabu-nakamura
Copy link
Contributor

#4884:

Hi! According to our designers / spec, when using toggle buttons it's best to wrap them to the next line as opposed to putting toggle buttons into an overflow. This is because toggle buttons in a group are all very related to each other, and it's important to show them all together on screen.

<com.google.android.material.button.MaterialButtonToggleGroup
    />


⬇️

<com.google.android.material.button.MaterialButtonToggleGroup
    app:overflowMode="wrap"/>

https://github.com/material-components/material-components-android/blob/master/docs/components/ToggleButtonGroup.md:

Note: Segmented buttons are being deprecated in the Material 3 expressive update. For those who have updated, use the connected button group instead, which has mostly the same functionality but with an updated visual design.

What are being deprecated in the Material 3 expressive update?

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

Successfully merging this pull request may close these issues.

2 participants