【发布时间】:2011-12-26 15:53:51
【问题描述】:
我正在为 Adroid 蜂窝 3.0 开发一个应用程序,我想在其中使用 slide_in slide_out 为片段的变化设置动画。我首先使用了兼容性库,但性能令人失望,所以我离开了。 3.0 Api 的工作方式似乎有所不同,我的代码最终导致 ForceClose 崩溃。
有没有关于如何在没有兼容性库的情况下制作片段动画的示例。 transactionmanager.setcustomanimation 不起作用。在动画 xml 中我使用翻译。
【问题讨论】:
标签: android animation android-3.0-honeycomb fragment