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 ...
Get Android™ How to Program, Second Edition 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.