O'Reilly logo

Android Programming: The Big Nerd Ranch Guide, Third Edition by Kristin Marsicano, Chris Stewart, Bill Phillips

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

View Components

The material design guidelines specify a few kinds of view components that were new in Lollipop. The Android team provides implementations of many of these components. Let’s take a look at a few of the views you are likely to run into.

Cards

The first new widget is a frame for other widgets: cards (Figure 35.10).

Figure 35.10  Cards

Screenshot shows material AI app screen in Android phone. The screen shows two blank widget frames placed one below another.

A card is a container for other kinds of content. It is elevated slightly, with a shadow behind it, and its corners are slightly rounded.

This is not a design book, so we cannot provide advice on when and where to use cards. (See Google’s material design documentation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required