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.

CardView background color always white

I am using RecyclerView with GridLayoutManager and I have each item as CardView. Unfortunately, the CardView here does not seem …

android android-recyclerview android-cardview
How to add cardview in layout xml in AndroidX

How to add cardview in layout xml in AndroidX After upgraded to AndroidX <android.support.v7.widget.CardView xmlns:…

android android-appcompat android-cardview androidx material-components-android
Setting Elevation in XML on AppCompat CardView on Android 5.0

From what I understand, early in the preview stage there seemed to be no way to set elevation in XML …

android android-appcompat android-cardview android-elevation
Make ImageView fit width of CardView

I have a CardView with rounded corners, I want to have an ImageView at the top like shown in the …

android imageview android-appcompat android-cardview
OnClickListener for CardView?

How do I attach an OnClickListener to a CardView? I want every single card to have a different action when …

android onclicklistener android-5.0-lollipop android-cardview
Pull to refresh recyclerview android

Hi I've a tabbed activity, and in the first tab I fetch data from server and show it in a …

android android-fragments android-volley android-cardview pull-to-refresh
How to implement setOnScrollListener in RecyclerView

How Do I show progress bar at bottom when user reached to items those are visible in a list. I …

java android-cardview android-recyclerview onscrolllistener endlessscroll
How to disable the shadow around card view in android

Hello I am am working on demo application in which i am using the card view of support library. By …

android android-cardview
Transparent background on CardView - Android

I want to do transparent background on CardView. I know backgroundColor but i have image on my Layout. Do you …

android background android-cardview
Expand and collapse CardView

What is the proper way to expand a CardView?

android android-cardview