Can't get objectAnimator working with xFraction

后端 未结 3 1483
慢半拍i
慢半拍i 2020-12-21 16:24

I\'m trying to animate a slide-in/slide-out animation between Fragments. I know there\'re tons of similiar question out there on StackOverflow<

3条回答
  •  难免孤独
    2020-12-21 17:16

    The example provided by @mathheadinclouds worked for me using "R.animator.in" instead of R.anim.in in the line:

    transaction.setCustomAnimations(R.anim.in, R.anim.out);
    

提交回复
热议问题