O'Reilly logo

Android 3.0 Animations by Alex Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pop quiz—Fragment animation and XML Animators

  1. Where do you need to use an XML Animator?

    a. When you are working with animations that are not in Views

    b. When the animation uses a default interpolator

    c. When the target animation only loads Animators by resource ID

  2. What class do you add an Animator to when you want to add a Fragment to a layout?

    a. The Fragment itself

    b. The Layout

    c. The FragmentTransaction that is adding the Fragment

  3. Can you specify different animations for adding and removing Fragments with a FragmentTransaction?

    a. No

    b. Yes, you specify them separately

    c. Yes, you specify them together

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required