Exercises

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

a) A layout fills the entire client area of the screen if the layout’s Width and Height properties (in the Layout Parameters section of the Properties window) are each set to ___________.

b) ___________ object stores key-value pairs.

c) ___________ (a static method of class Collections from package java.util) sorts the List in its first argument.

d) You use ___________ objects to configure and create AlertDialogs for displaying messages to the user.

e) Android uses a technique known as ___________ to communicate information between activities within one app or activities in separate apps.

f) A(n) ___________ is a GUI that shows a list of apps that can handle a specified Intent. ...

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.