Exercises

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

a) The ADT’s _____________ allows you to build GUIs using drag-and-drop techniques.

b) For an Android app that you create with Eclipse, the GUI layout is stored in an XML file called _____________, by default.

c) The default GUI for a Blank Page app consists of a(n) _____________ (layout) with a light-gray background and a TextView containing "Hello world!".

d) Your project’s res folder contains three subfolders for images—drawable-hdpi (high density), drawable-mdpi (medium density) and drawable-ldpi (low density). These folders store images with different _____________ densities.

e) The documentation for supporting multiple screen sizes recommends that you use density-independent ...

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.