Android: using Activity's default animation for Fragments

女生的网名这么多〃 提交于 2019-12-07 03:59:29

问题


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?

Thanks a lot in advance.


回答1:


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/topic/android-porting/c75-7TMgn3A/discussion



来源:https://stackoverflow.com/questions/14376810/android-using-activitys-default-animation-for-fragments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!