Java tutorial
//package com.java2s; import android.animation.ObjectAnimator; import android.view.View; import android.view.animation.AccelerateDecelerateInterpolator; public class Main { public static void arrowUpAnim(View view) { ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotation", 0f, 180f); animator.setDuration(400); animator.setInterpolator(new AccelerateDecelerateInterpolator()); animator.start(); } }