Create a Card

Introduction
In this tutorial, you will learn how to create a card view to display featured data. You will add cards manually. If you want to add cards programatically, you should learn how to use a RecyclerView.

Dependencies
Compile the following dependencies:

Conclusion
Your activity now has a CardView. You can use this method to add multiple CardViews. If you need to add them programatically, you will need a RecyclerView and an Adapter.

You now know how to create CardViews.