diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java index 3447df0af..e1bfb5c7a 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java @@ -154,6 +154,7 @@ public class PollOptionStatusDisplayItem extends StatusDisplayItem{ int targetLevel=shown ? Math.round(10000f*item.votesFraction) : 0; ObjectAnimator animator=ObjectAnimator.ofInt(bg, "level", startLevel, targetLevel); animator.setDuration(ANIMATION_DURATION); + animator.setInterpolator(new DecelerateInterpolator()); button.setBackground(bg); if(shown){ itemView.setSelected(item.poll.ownVotes!=null && item.poll.ownVotes.contains(item.optionIndex));