Top "Android-cardview" questions

CardView is a widget used to show complex lists and cards in your app, it has material design style by default.

RecyclerView Adapter and ViewHolder update dynamically

I am trying to make an app that will be loading news from the network and will be updating dynamically. …

android android-cardview android-recyclerview android-viewholder
Error when adding CardView to layout

I wanted to try out the new toys that google gave us and I've run into some trouble. Here is …

android xml android-cardview
Cardview with dividers in it

I've seen those CardViews (I'm not sure they're even CardViews) with dividers used in a lot of apps, so I'm …

android android-studio android-5.0-lollipop android-cardview
Programmatically set '?selectableItemBackground' on Android view

In xml, I often do this to emulate onClick effect: <android.support.v7.widget.CardView android:id="@+id/cardView" …

android xml android-layout android-cardview
Remove spacing between items in RecyclerView android

I am using a RecyclerView to show a List of Items and I need to remove the default spacing between …

android material-design android-recyclerview android-cardview
Cardview shadow not appearing in lollipop devices?

Am using the cardview in my android app. However the shadow is not showing. Here is the xml layout The …

android android-layout android-5.0-lollipop android-cardview
Android CardView with a custom shadow color

Is it possible to change the color of the shadow around the CardView? Mainly used to mark selected the card …

android shadow android-cardview
RecyclerView onClick for multiple buttons and handling from Activity

I'm using RecyclerView with CardView and inside the CardView have 2 buttons. Now, have implemented the onClick events by implementing View.…

android android-recyclerview android-cardview buttonclick
Android CardView remove padding

how do I get rid of this strange padding in the layout below: <?xml version="1.0" encoding="utf-8"?> <…

android android-cardview
android.graphics.drawable.ColorDrawable cannot be cast to android.support.v7.widget.RoundRectDrawableWithShadow

I tried to use CardView in my Application which worked pretty good within my xml Layout. Since I want to …

android android-appcompat android-cardview