Search code examples
androidanimationandroid-2.1-eclair

Is there a flip animation available to use when transitioning between activities?


When transitioning between activities, such as calling startActivity(); or when using the back button, the screen slides in from the sides.

Is there any way to alter this? I have a flash-card like application, so when I move from activity A to activity B I would like the screen to flip over like turning a real flash card.

Is there any way to do this out of the box? Or does this require some custom animations?


Solution

  • As far as I know, the applications have no control over the transitions between their activities.

    What you could do is merge the two activities using a custom ViewGroup that changes between the two Views using any animation you like. It's not trivial but should certainly be doable.