3 Commits

Author SHA1 Message Date
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