Android Application Development Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Chapter 2. Layouts

In this chapter, we will cover the following topics:

  • Defining and inflating a layout
  • Using RelativeLayout
  • Using LinearLayout
  • Creating tables – TableLayout and GridLayout
  • Using ListView, GridView, and Adapters
  • Changing layout properties during runtime
  • Optimizing layouts with the Hierarchy Viewer