You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Th ExtendedFloatingActionButton does't shrink when it's a child of a Motionlayout. I think because it update its size in the with: layoutParams.width = size.getWidth() layoutParams.height = size.getHeight()
(in ChangeSizeStrategy.performNow())
which shouldn't be done like that when the layoutParams is a ConstraintLayout.LayoutParams.
The text was updated successfully, but these errors were encountered:
OHoussein
changed the title
ExtendedFloatingActionButton shrink not work with Motionlayout
[ExtendedFloatingActionButton] shrink not work with Motionlayout
Mar 5, 2020
I've been fighting with this problem for hours until I understood this is broken.
My workaround is to wrap the MotionLayout into another Layout where I put the ExtendedFAB and then use a TransitionListener in the MotionLayout to trigger shrink/extend in the FAB.
Th ExtendedFloatingActionButton does't shrink when it's a child of a Motionlayout. I think because it update its size in the with:
layoutParams.width = size.getWidth()
layoutParams.height = size.getHeight()
(in
ChangeSizeStrategy.performNow()
)which shouldn't be done like that when the
layoutParams
is aConstraintLayout.LayoutParams
.The text was updated successfully, but these errors were encountered: