Skip to content

Commit

Permalink
[NavigationBar][NavigationRail] Updated active indicator to use new m…
Browse files Browse the repository at this point in the history
…otion system.

PiperOrigin-RevId: 447463375
  • Loading branch information
hunterstich authored and leticiarossi committed May 9, 2022
1 parent a2507b8 commit 1995438
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -360,12 +360,12 @@ public void onAnimationUpdate(ValueAnimator animation) {
activeIndicatorAnimator.setInterpolator(
MotionUtils.resolveThemeInterpolator(
getContext(),
R.attr.motionEasingStandard,
R.attr.motionEasingEmphasizedInterpolator,
AnimationUtils.FAST_OUT_SLOW_IN_INTERPOLATOR));
activeIndicatorAnimator.setDuration(
MotionUtils.resolveThemeDuration(
getContext(),
R.attr.motionDurationLong1,
R.attr.motionDurationLong2,
getResources().getInteger(R.integer.material_motion_duration_long_1)));
activeIndicatorAnimator.start();
}
Expand Down

0 comments on commit 1995438

Please sign in to comment.