Is there a way to set CardView border
programmatically, I have a situation in which a hex code comes from API call and I need to draw the border of a cardview using that hex color.
I am not able to figure out, since I don't see any method to directly set the border of a cardView. I can only see the method to set the backgroundColor
.