O'Reilly logo

Android™ How to Program, Second Edition by Abbey Deitel, Harvey Deitel, Paul Deitel

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

Exercises

5.3 Fill in the blanks in each of the following statements:

a) When the user selects an item from a Menu, Activity method ______ is called to respond to the selection.

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

c) 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.

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

e) Android supports ______ animations which allow you to animate any property of any object.

f) For the android:fromXDelta attribute, specifying the value -5%p indicates ...

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