更新时间:2022-12-11 17:34:38
您必须对目标3.0(API等级11),以使用新的对象动画。如果您正在为低版本,您必须使用较旧的动画过渡(android.R.anim)。
You have to target 3.0 (API level 11) to use the new object animator. If you are building for lower versions you must use the older anim transitions (android.R.anim).
不过,我认为,片段动画在compat的图书馆由戴安娜Hackborn在this帖子。
However, I think that fragment animations in the compat library are broken as stated by Dianne Hackborn in this post.