Add background image to cardview

Hi. I want add background image to cardview
please add this option in next release . thanks

its make a little space between them if use corner radius for card view

If you set the Content padding of all four side to zero, then you will get following result. Corner radius is set to 15 here

Image source: Photo by David Pennington on Unsplash

2 Likes

thanks its work
but better way is add option in cardview by @kodular team

No we will not add it since there does not exist such a method for cardview by android.
Just place a image INSIDE the card.
Thats the official way

3 Likes