mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
Before, if there was any change to the layout inside BackLayerLayout while the back layer was already expanded, the developer had to manually call setExpanded(true) for it to animate to the new size. Now, the behavior reacts automatically and animates the size change on its own, simplifying the code path and allowing more flexibility. PiperOrigin-RevId: 165175310