Exercises

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

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

    2.              object stores key-value pairs.

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

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

    5. A subclass of              can be used to display a line between RecyclerView items.

  2. 8.2 State whether each of the following is true or false. If false, explain why.

    1. An Algorithm specifies an action to be performed and the data to be acted ...

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.