Self-Review Exercises

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

    1. A(n)           —often called a text box or text field in other GUI technologies—is a subclass of TextView that can display text and accept text input from the user.

    2. Use a(n)            to arrange GUI components into cells in a rectangular grid.

    3. Android Studio’s            window shows the nested structure of the GUI.

    4. Class            of package android.os represents an app’s state information.

    5. You implement interface            of package android.text to respond to events when the user interacts with an EditText component.

    6. Before Android 3.0, a separate            was typically associated with each screen of an app.

    7. The method            is called by the system ...

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.