/** 重置动画 */ private void resetRotation() { ImageViewRotation.clearAnimation(); ImageViewRotation.setRotation(0); }
@Override public void onPull(float scale) { float angle = scale * 180f; // SUPPRESS CHECKSTYLE ImageViewRotation.setRotation(angle); }