6

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.

noloman
  • 11,411
  • 20
  • 82
  • 129

1 Answers1

3

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

Andre
  • 3,150
  • 23
  • 23
  • 1
    @noloman I haven't implemented my version so if you could post an example that would be great too. Thanks. – Andre Feb 11 '13 at 15:12
  • Thanks for the link. However, how can you alude to those animations in code in a R.anim.xxxx fashion? – GaRRaPeTa Nov 13 '14 at 12:31
  • @GaRRaPeTa Manufacturers could have their own animations, attributes can change, styles are fixed –  Jun 17 '17 at 03:02