Chapter 3

Android User Interface

WHAT YOU WILL LEARN IN THIS CHAPTER

  • What the various ViewGroups are that you can use to lay out your views
  • How to use the basic views in Android to design your user interface
  • How to use the specialized fragments available in Android 3.0

In Chapter 2, you learned about the Activity and Fragment classes and their life cycles. You learned that an activity (as well as a fragment) is a means by which users interact with the application. However, an activity or fragment by itself does not have a presence on the screen. Instead, it has to draw the screen using Views and ViewGroups. In this chapter, you learn the details about creating user interfaces in Android, and how users interact with them.

Get Beginning Android 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.