March 2016
Intermediate to advanced
428 pages
9h 2m
English
The card flip is a common animation that we will demonstrate using fragment transitions. We'll use two different images—one for the front and one for the back, to create the card flip effect. We'll need four animation resources: two for the front and two for the back transitions, which we will define in XML using objectAnimator.
Here's a screenshot of the application we'll build showing the Card Flip Animation in action:

Create a new project in Android Studio and call it: CardFlip. Use the default Phone & Tablet options and select Empty Activity when prompted for the Activity Type.
For the ...
Read now
Unlock full access