安卓:使用活动的默认的动画片段 [英] Android: using Activity's default animation for Fragments

查看:160
本文介绍了安卓:使用活动的默认的动画片段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用活动默认的动画的片段取代,但使用 android.R.anim 我找不到它。

I need to use the Activities default animation in a Fragment replace, but using android.R.anim I can't find it.

我如何才能找到它的名字? 是否有可能在默认情况下使用它,否则我将不得不为了使用手动创建动画?

How can I find the name of it? Is it possible to use it by default, or would I have to create the animation manually in order to use it?

感谢很多提前。

推荐答案

已经搜索到了这个确切的问题,我发现这个资源在谷歌论坛(奇怪的不是Android的开发者):

Having searched for this exact issue, I've found this resource on the Google forums (oddly not in Android-Developers):

https://groups.google.com/d/主题/ Android的移植/ c75-7TMgn3A /讨论

这篇关于安卓:使用活动的默认的动画片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆