ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
1.06k
stars
177
forks
source link
MotionLayout OnSwipe without TouchAnchorId (support nested scroll) #856
Open
vkomysh-vicman opened 4 weeks ago
Case: MotionLayout with RecyclerView child. Transition has OnSwipe TouchResponse without
TouchAnchorId
(whole MotionLayout area):All works fine after any MOVE touch event (non-nested scrollable): mAnchorDpDt set by minSize = Math.min(mMotionLayout.getWidth(), mMotionLayout.getHeight())
But, before processTouchEvent MOVE,
mAnchorDpDt
has incorrect value[0.01, 0.01]
and strange behavior in case nested scroll TouchResponse.scrollMoveTemporary fix: