Quel type d’animations

ViewPropertyAnimator

view.animate()

Démo CrossFade

ViewPager

Utilisation

Démo ViewPager

CardFlipActivity

ZoomView

Animation d’images

<animation-list android:id="@+id/selected" android:oneshot="false">
        <item android:drawable="@drawable/img1" android:duration="50" />
        <item android:drawable="@drawable/img2" android:duration="30" />
        <item android:drawable="@drawable/img3" android:duration="50" />
        <item android:drawable="@drawable/img4" android:duration="40" />
</animation-list>
ImageView img = (ImageView)findViewById(R.id.spinning_wheel_image);
img.setBackgroundResource(R.drawable.spin_animation);
// On récupère le fond, qui a été compilé en objet AnimationDrawable
AnimationDrawable frameAnimation = (AnimationDrawable) img.getBackground();
// On démarre l'animation (en boucle par défaut)
frameAnimation.start();