用于创造Android圆弧过渡动画:ArcAnimator
jopen
10年前
ArcAnimator有助于创造圆弧过渡动画:2.3+。
//set up clipView and coordinates where clipView will move ArcAnimator arcAnimator = ArcAnimator.createArcShift(clipView, endX, endY, DEGREE, SIDE) .setDuration(500) .start(); //or specify nestView for clipView. Animator will take center x,y coordinates of nestView ArcAnimator arcAnimator = ArcAnimator.createArcShift(clipView, nestView, DEGREE, SIDE) .setDuration(500) .start();