public ViewPropertyAnimator createViewAnimator(final View view) {
        final ViewPropertyAnimator animator = view.animate();

        final int rotBy = getRelativeRotation((int) view.getRotation(), getViewRotation());
        final int rotYBy = getRelativeRotation((int) view.getRotationY(), getViewRotationY());
        return animator.rotationBy(rotBy).rotationYBy(rotYBy);
    }
Creates a view animator to animate view towards this orientation. Sets rotation attributes of the animator only.
main/src/main/java/cgeo/geocaching/utils/ViewOrientation.java