mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Changed the demo to use toggle button groups instead of a combination of "manual toggle buttons", regular buttons, and AppCompat toggle buttons. This creates consistency throughout the demo and makes it easier to understand which demo control modifies which feature of the BottomAppBar. Also: - Changed the hide on scroll demo control to use a switch, as opposed to a ToggleButton. It was previously very hard to tell which position was on and which was off; a switch does a better job of communicating on/off states. - Added labels for the toggle groups, which makes it easier to understand which demo control applies to which aspect of the BAB. PiperOrigin-RevId: 377132368