O'Reilly logo

Learning Material Design by Kyle Mew

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

Cards

CardView is probably the most frequently used and flexible material component, and as such, there are a considerable number of guidelines concerning its structure, appearance, and function. Cards are described by Google as being entry points to more detailed information. This means that they should provide a small number of actions in the form of buttons, clickable images, and often, simply the card itself.

The way we used cards in the previous section, to create a list, is probably not the best example of how to employ CardView. Generally, with lists of items with very similar content, a simple divider provides a far less cluttered layout, and cards were used here just to demonstrate RecyclerViews in an easily digestible fashion.

Cards come ...

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