mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-29 21:05:19 +08:00
- If item width is more than twice the item height, limit the width to twice the item height and add a medium item to the hero variant of the carousel. - Fix snaphelper to snap to closest keyline state instead of always the default keyline state - Add new KeylineStatePositionList to keep track of which keyline states to be in for each position. Update scrollToPosition methods to take the correct keyline instead of default keyline PiperOrigin-RevId: 537955672