Vikas
Vikas

Reputation: 468

How to use objectAnimator in overridePendingTransition in android

How to use objectAnimator in overridePendingTransition in android for 3D flip whenever activity switches in android

Upvotes: 0

Views: 504

Answers (1)

JimVanB
JimVanB

Reputation: 1225

If you want to use an ObjectAnimator in conjunction with overridePendingTransition(), this is not possible.

You have to call overridePendingTransition(int enterAnim, int exitAnim) with the ressource ids of existing animations defined in XML. There you can setup or tune the existing 3D flip from android.

Upvotes: 1

Related Questions