We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Description: Connected button groups affect adjacent buttons.
Expected behavior: Connected button groups don't affect adjacent buttons.
https://m3.material.io/components/button-groups/guidelines:
Standard button groups ... When a button in a standard group is selected: The selected button changes shape and width A selected toggle button also changes color Adjacent buttons move and temporarily change width
Standard button groups ... When a button in a standard group is selected:
Connected button groups ... They behave similarly to standard groups, except they don't affect adjacent buttons.
Connected button groups ...
They behave similarly to standard groups, except they don't affect adjacent buttons.
Source code: https://github.com/material-components/material-components-android/blob/master/docs/components/Button.md#connected-button-group:
<com.google.android.material.button.MaterialButtonGroup android:id="@+id/buttonGroup" style="@style/Widget.Material3.MaterialButtonGroup.Connected" android:layout_width="wrap_content" android:layout_height="wrap_content"> <Button style="?attr/materialButtonOutlinedStyle" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 1" /> <Button style="?attr/materialButtonOutlinedStyle" android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 2" /> <Button style="?attr/materialButtonOutlinedStyle" android:id="@+id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 3" /> </com.google.android.material.button.MaterialButtonGroup>
Minimal sample app repro: Test16.zip
Android API version: 34
Material Library version: 1.13.0-alpha13 and 1.14.0-alpha01
Device: Android Emulator 35.5.10
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description: Connected button groups affect adjacent buttons.
video.mp4
Expected behavior: Connected button groups don't affect adjacent buttons.
https://m3.material.io/components/button-groups/guidelines:
Source code: https://github.com/material-components/material-components-android/blob/master/docs/components/Button.md#connected-button-group:
Minimal sample app repro: Test16.zip
Android API version: 34
Material Library version: 1.13.0-alpha13 and 1.14.0-alpha01
Device: Android Emulator 35.5.10
The text was updated successfully, but these errors were encountered: