mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
ExpandableBehavior: onExpandedStateChange() is now guaranteed to be called after the dependency and child have both been laid out. The first-layout case does this by using a pre draw listener. ExpandableTransformationBehavior: onCreateExpandedStateChangeAnimation() now has a currentlyAnimating hint, which when false can be used by subclasses to initialize the sheet during expansion. FabTransformationBehavior: Contains translation and expansion, with scaffolding for other motion components. FabTransformationSheetBehavior: Contains the MotionTiming for each motion component for FAB to sheet transformation. Demo in catalog is now draggable. You can reposition the FAB and the sheet to see how it affects the transformation. PiperOrigin-RevId: 167796529