Chapter 5: Beautiful Layouts with CardView and ScrollView

This is the last chapter on layouts before we spend some time focusing more on Java and object-oriented programming. We will formalize our learning of some of the different attributes we have already met, and we will also introduce two more cool layouts: ScrollView and CardView. To finish the chapter off, we will run the CardView project on a tablet emulator.

In this chapter, we will cover the following:

  • A quick summary of UI attributes
  • Build our neatest layout so far using ScrollView and CardView
  • Create and use a tablet emulator

Let's start by recapping some attributes.

Technical requirements

You can find the code files present in this chapter on GitHub at ...

Get Android Programming for Beginners - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.