public void onAnimationEnd(Animator anim) {
                View view = (View) ((ObjectAnimator) anim).getTarget();
                view.setRotation(0f);
            }
Called when the activity is first created.
app/src/main/java/home/smart/fly/animations/property/LayoutAnimationsActivity.java