8. Designing User Interfaces with Layouts
In this chapter, we discuss how to design user interfaces for Android applications. Here we focus on the various layout controls you can use to organize screen elements in different ways. We also cover some of the more complex
View objects we call container views. These are
View objects that can contain other
View objects and controls.
Creating User Interfaces in Android
Application user interfaces can be simple or complex, involving many different screens or only a few. Layouts and user interface controls can be defined as application resources or created programmatically at runtime.
Creating Layouts Using XML Resources
As discussed in previous chapters, Android provides a simple way to create layout ...