Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flip-Animation for Activity-Change

i want to flip between two activities like the iPhone.

I tried to use the overridePendingTransition(int enterAnim, int exitAnim) Method, but was not successful.

Has someone implemented an animation like this?

fesp

like image 969
Fesp Avatar asked Nov 05 '22 00:11

Fesp


1 Answers

When you have to change Activities, first start the desired layout animation on the outmost view (possibly a viewgroup) of the current Activity. When the animation finished, start the new Activity. Also, remember to switch off the default Activity transition animation.

like image 65
Zsombor Erdődy-Nagy Avatar answered Nov 14 '22 22:11

Zsombor Erdődy-Nagy