Exercises

  1. 4.3 Fill in the blanks in each of the following statements:

    1. When the user selects an item from a Menu or touches a menu item displayed on the app bar, Activity method               is called to respond to the selection.

    2. To delay an action, we use a(n)               (package android.os) object to execute a Runnable after a specified delay.

    3. You can specify the number of times an animation should repeat with Animation method               and perform the animation by calling View method startAnimation (with the Animation as an argument) on the ImageView.

    4. A(n)               is a collection of animations which make up a larger animation.

    5. Android supports               animations which allow you to animate any property of any object. ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.