Deva
Deva

Reputation: 3949

android animation on orientation change

I have to give an animation effect when i change the orientation of screen from Portrait to landscape and vice versa. How can i go about doing this.

Any help would be appreciated. Thanks!

Upvotes: 3

Views: 2785

Answers (1)

Sam
Sam

Reputation: 1

use overridePendingTransition (int enterAnim, int exitAnim) in your onCreate() method of activity. and your activity should not having android:configChanges="orientation" tag in manifest, otherwise oncreate will not be called on orientation change...hope this will help you...what i got from you

Upvotes: -1

Related Questions