[英]How to use objectAnimator in overridePendingTransition in android
每当活动在Android中切换时,如何在Android的overridePendingTransition中使用objectAnimator进行3D翻转
If you want to use an ObjectAnimator
in conjunction with overridePendingTransition()
, this is not possible. 如果您想将
ObjectAnimator
与overridePendingTransition()
结合使用,则不可能。
You have to call overridePendingTransition(int enterAnim, int exitAnim)
with the ressource ids of existing animations defined in XML. 您必须使用XML中定义的现有动画的资源ID调用
overridePendingTransition(int enterAnim, int exitAnim)
。 There you can setup or tune the existing 3D flip from android. 在这里,您可以设置或调整来自android的现有3D翻转。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.