Chapter 3. User interfaces

This chapter covers

  • Understanding activities and views
  • Exploring the Activity lifecycle
  • Working with resources
  • Exploring the AndroidManifest.xml file

With our introductory tour of the main components of the Android platform and development environment complete, it’s time to look more closely at the fundamental Android concepts surrounding activities, views, and resources. Activities are essential because, as you learned in chapter 1, they make up the screens of your application and play a key role in the Android application lifecycle. Rather than allowing any one application to wrest control of the device away from the user and from other applications, Android introduces a well-defined lifecycle to manage processes ...

Get Android in Action, 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.