diff --git a/lib/java/com/google/android/material/bottomsheet/BottomSheetBehavior.java b/lib/java/com/google/android/material/bottomsheet/BottomSheetBehavior.java index f728350f411..7ae45e1ce73 100644 --- a/lib/java/com/google/android/material/bottomsheet/BottomSheetBehavior.java +++ b/lib/java/com/google/android/material/bottomsheet/BottomSheetBehavior.java @@ -1443,8 +1443,8 @@ private void updateDrawableForTargetState(@State int state, boolean animate) { if (interpolatorAnimator.isRunning()) { interpolatorAnimator.reverse(); } else { + float from = materialShapeDrawable.getInterpolation(); float to = removeCorners ? calculateInterpolationWithCornersRemoved() : 1f; - float from = 1f - to; interpolatorAnimator.setFloatValues(from, to); interpolatorAnimator.start(); }