Android: Animation Position Resets After Complete

后端 未结 9 1542
南笙
南笙 2020-11-27 13:30

I\'m using an xml defined animation to slide a view off the screen. The problem is, as soon as the animation completes it resets to its original position. I need to know how

9条回答
  •  甜味超标
    2020-11-27 13:48

    I might be a bit late in replying, but I have the solution for this:

    Just add android:fillAfter="true" in your xml

提交回复
热议问题