6 Commits

Author SHA1 Message Date
leticiars
fa0e908340 [OverflowLinearLayout] Use button's text or content description as default menu item text.
PiperOrigin-RevId: 764857390
2025-05-30 13:34:05 +00:00
pekingme
981877d06d [ButtonGroup] Added overflow feature.
PiperOrigin-RevId: 762686060
2025-05-27 18:47:43 +00:00
leticiars
c1a432fdc0 [OverflowLinearLayout] Modify some layout params overriden methods.
PiperOrigin-RevId: 761677407
2025-05-22 13:30:41 +00:00
leticiars
914900e342 [OverflowLinearLayout] Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars.
When wrapping the floating/docked toolbar's children in a OverflowLinearLayout, the toolbar will automatically move children to an overflow menu when there's not enough screen space for all the items to fit in the toolbar.

The children moved to an overflow menu will always be the ones at the end of the toolbar that do not fit the max toolbar size. An overflow button will be automatically placed as the last child of the toolbar when overflow happens.

PiperOrigin-RevId: 758661471
2025-05-14 19:16:20 +00:00
Material Design Team
de11797e3b Automated g4 rollback of changelist 757750540
PiperOrigin-RevId: 757786848
2025-05-12 18:41:35 +00:00
leticiars
a12f17a93f [OverflowLinearLayout] Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars.
When wrapping the floating/docked toolbar's children in a OverflowLinearLayout, the toolbar will automatically move children to an overflow menu when there's not enough screen space for all the items to fit in the toolbar.

The children moved to an overflow menu will always be the ones at the end of the toolbar that do not fit the max toolbar size. An overflow button will be automatically placed as the last child of the toolbar when overflow happens.

PiperOrigin-RevId: 757750540
2025-05-12 18:40:49 +00:00