Play bitmap animation list in reverse order?
- by Ixx
I have a bitmap animation defined in XML, to open a door.
I also need to animate closing the door, which contains the same frames but in reverse order. I don't want to create a second XML for this.
The only reverse parameter I found in the documentation is related with repeating, and this doesn't apply, since I want the opening animation to finish when the door is closed and not continue to closing animation.
I also found some threads about using a custom interpolator, but can I use / makes sense with a bitmap animation?
How can I play the XML animation in reverse order?