0
我还是相当新的android,但我希望能够找出一些关于动画的东西。Android:翻转动画与转换矩阵
我试图建立一个视图翻转动画,但它成为我刚才看到的最棒的一件事情之一。我尝试这样做:
动画在XML:
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:valueTo="360"
android:propertyName="rotationY" >
</objectAnimator>
动画应用在Java中:
ObjectAnimator animation = (ObjectAnimator)AnimatorInflater.loadAnimator(contextReference, R.animator.card_left_flip);
animation.setTarget(passView);
animation.setDuration(2000);
animation.start();
这产生了一个非常可怕的动画,将裁剪我的意见,而不是增加的观点。
有没有一种很好的方法来在android中执行3D动画,最好是使用矩阵,而不必使用OpenGL?
好的。我之前遇到过,但后来我输了。我以前不认为我了解它,但我会检查出来并回复给你! – RileyE