Android: using Activity's default animation for Fragments
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. 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