Creating Dynamic UI with Android Fragments
上QQ阅读APP看书,第一时间看更新

Chapter 1. Fragments and UI Modularization

This chapter introduces fragments, UI modularization, and the role fragments play in developing a modularized UI. The chapter demonstrates creating simple fragments and using fragments statically within activities.

Let us have a look at the topics to be covered:

  • The need for UI modularization
  • Fragments are the foundation of modularization
  • Support for fragments across Android versions
  • Creating fragments

By the end of this chapter, we will be able to create and use fragments within a static activity layout.