O'Reilly logo

Android in Action, Third Edition by C. Enrique Ortiz, Chris King, Robi Sen, W. Frank Ableson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Activity fragments

 

This chapter covers

  • Fragment lifecycle
  • Background fragments
  • The fragment manager
  • Fragment transactions
  • The fragment back stack
  • The Android Compatibility Package

 

The larger screen size of tablets, which allows more content to be displayed than is possible on smaller form-factor devices such as smartphones, introduced the need for new user interface and related application components.

Recall that an Activity is an application component that is typically given a window to draw a user interface. This window typically fills the screen, which works fine on the smaller form-factor devices. Although the same approach can be used for larger-screen devices, you may have to rely on complex custom views or hierarchies, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required