我有一个属性 ViewPropertyAnimator
可以在 y 轴上旋转 ImageView
animate().rotationY(180).alpha(0).setDuration(300).start();
它运行良好,但在华为设备中它消失了 ImageView
。我将 rotationY
更改为 rotation
并且它正在运行。怎么了?
最佳答案
尝试使用 view.setCameraDistance(10 * view.getWidth());
关于java - 旋转 Y 在某些手机上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45477454/