<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- Rotate. -->
    <objectAnimator
        android:duration="500"
        android:interpolator="@android:interpolator/accelerate_decelerate"
        android:propertyName="rotationY"
        android:valueFrom="0"
        android:valueTo="180" />

    <!-- Half-way through the rotation, hide the front card -->
    <objectAnimator
        android:duration="1"
        android:propertyName="alpha"
        android:startOffset="250"
        android:valueFrom="1.0"
        android:valueTo="0.0" />
</set>