ObjectAnimator的rotationX、rotationY在部分华为手机上消失

504 阅读1分钟

在mate8 7.0 rotation动画view消失(mate9、p10),无论是属性动画还是ViewHelper,最终调用view.setRotationY等

ObjectAnimator animator = ObjectAnimator.ofFloat(imageView, "rotationY", -180, -90);
animator.setDuration(3_000);
animator.start();