October 2010
Intermediate to advanced
400 pages
8h 3m
English
The Android user interface (UI) consists of screen views, screen touch events, and key presses. The framework for specifying the UI is constructed to support the various different Android devices. This chapter focuses on the utilization of this framework for the initial graphical layout and its changes. Chapter 5, “User Interface Events,” handles key presses and gestures.
The UI display utilizes developer-generated resource files, some of which are discussed in Chapter 2, “Application Basics: Activities and Intents,” in the context of the directory structure of an Android project. For completeness, the entire set of resource directories is summarized here:
• res/anim/—Frame-by-frame ...
Read now
Unlock full access