Skip to content

Commit

Permalink
Library: Change interpolators for button animation
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid committed May 15, 2020
1 parent 6184d6e commit 9ee428d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<set>
<objectAnimator
android:duration="@integer/button_pressed_animation_duration"
android:interpolator="@android:interpolator/linear_out_slow_in"
android:interpolator="@android:interpolator/linear"
android:propertyName="translationZ"
android:valueTo="-5dp"
android:valueType="floatType" />
Expand All @@ -16,7 +16,7 @@
<set>
<objectAnimator
android:duration="@integer/button_pressed_animation_duration"
android:interpolator="@android:interpolator/fast_out_slow_in"
android:interpolator="@android:interpolator/linear"
android:propertyName="translationZ"
android:startDelay="@integer/button_pressed_animation_delay"
android:valueTo="0"
Expand Down

0 comments on commit 9ee428d

Please sign in to comment.