mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
BackLayerLayout: - Expanded state is saved and restored via ExpandableWidgetHelper across configuration changes. - BackLayerLayout and BackLayerSiblingBehavior no longer keep references to each other, minimizing stale state. - All state changes now go through CoordinatorLayout.dispatchDependentViewsChanged(), mirroring other MDC-Android components like FAB Transformation and dynamic persistent sheet. BackLayerSiblingBehavior: - The behavior is now an ExpandableBehavior, mirroring other MDC-Android components like FAB Transformation and dynamic persistent sheet. - Animates state changes using both position and translation, better separating its semantic meanings: - BLL's collapsed size determines the sibling's position, which never changes. - BLL's expanded size determines its translation, which is animated. PiperOrigin-RevId: 171064071