Skip to content

Commit 63e1577

Browse files
committed
Merge branch 'release/3.2' of github.com:wordpress-mobile/WordPress-Android into release/3.2
2 parents 56edcd3 + 6db0618 commit 63e1577

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderAnim.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ private static void animateButton(final View target, ReaderButton button) {
211211
// rotate like button +/- 72 degrees (72 = 360/5, 5 is the number of points in the star)
212212
float endRotate = (button == ReaderButton.LIKE_ON ? 72f : -72f);
213213
ObjectAnimator animRotate = ObjectAnimator.ofFloat(target, View.ROTATION, 0f, endRotate);
214+
animRotate.setRepeatMode(ValueAnimator.REVERSE);
215+
animRotate.setRepeatCount(1);
214216
set.play(animX).with(animY).with(animRotate);
215217
// on Android 4.4.3 the rotation animation may cause the drawable to fade out unless
216218
// we set the layer type - https://code.google.com/p/android/issues/detail?id=70914

0 commit comments

Comments
 (0)