Exercises
-
2.3 Fill in the blanks in each of the following statements:
Android Studio’s allows you to build GUIs using drag-and-drop techniques.
For an app based on the Empty Activity template, the GUI layout is stored in an XML file called , by default.
The default GUI for an app based on the Empty Activity template consists of a(n) (layout) and a
TextView
containing"Hello world!"
.The documentation for supporting multiple screen sizes recommends that you use density-independent pixels for the dimensions of GUI components and other screen elements and for font sizes.
One density-independent pixel is equivalent to one pixel on a screen with 160 dpi (dots per inch). On a screen with 240 dpi, each ...
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.