most applications. See examples of the most common tasks, such as creating an activity and
passing control from one activity to another.
Chapter 2, Layouts, talks about Layout options; while Activities are fundamental to the UI,
the layout actually defines what the user sees on the screen. Learn the main layout options
available and best practices.
Chapter 3, Views, Widgets, and Styles, explores the basic UI object, from which all layouts
are built. Widgets include everything from buttons and textboxes to more complicated
NumberPicker and Calendar dialogs.
Chapter 4, Menus, teaches you how to use menus in Android. Learn how to create menus and
how to control their behavior at runtime.
Chapter 5, Exploring Fragments, AppWidgets, and the System UI, shows how to create more
flexible user interfaces by reusing UI components with Fragments. Take advantage of new OS
features with translucent system bars or even make the System UI go away completely with