4 Fragments, ActionBar, and Menus

Chapter Objectives

In this chapter you will:

  Explore how to build applications that use an ActionBar and Fragments.

  Understand the Fragment lifecycle.

  Learn to configure the ActionBar.

  Implement Fragments with Responsive Design Techniques.

  Explore animation in Fragment Transactions.

  Experiment with Fragments, ListViews, and ArrayAdapters.

  4.1 Fragmentation and Android Fragments

Android devices come in many shapes and screen sizes, and they have different performance characteristics. Multiple versions of Android are concurrently being used and supported at any given time. Often, companies produce their own variants on the system’s user interface, which can change the look of default elements. ...

Get Android Programming Concepts 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.