Chapter 5. Beautiful Layouts with CardView and ScrollView

This is the last chapter on layouts before we spend some time focusing on Kotlin and object-oriented programming. We will formalize our learning on some of the different attributes we have already seen, 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 topics:

  • Compiling a quick summary of UI attributes
  • Building our prettiest layout so far using ScrollView and CardView
  • Switching and customizing themes
  • Creating and using a tablet emulator

Let's start by recapping some attributes.