Exercises
3.3 Fill in the blanks in each of the following statements:
a) String literals should be placed in the strings.xml
file in the app’s _________ folder.
b) A component’s _________ specifies its relative importance with respect to other components.
c) Class _________ of package android.app
provides the basic lifecycle methods of an app.
d) Interface _________ of package android.text
allows you to change the content and markup of text in a GUI.
e) You implement interface _________ of package android.widget
to respond to the user moving the SeekBar
’s thumb.
f) Android apps have four types of components—activities, services, content providers and _________.
g) Throughout its life an activity can be in one of several states—active (or running), ...
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.