I noticed that you're persistently overriding the radius in the view's init. I don't know if it's on purpose, but it causes the card:cardCornerRadius or app:cardCornerRadius attributes (typically used with Google's CardView) to have no effect.
I'd consider removing that programmatic setting of the radius, which I - and perhaps other users, sharing former experience with CardView, have found confusing.
I noticed that you're persistently overriding the radius in the view's init. I don't know if it's on purpose, but it causes the card:cardCornerRadius or app:cardCornerRadius attributes (typically used with Google's CardView) to have no effect.
I'd consider removing that programmatic setting of the radius, which I - and perhaps other users, sharing former experience with CardView, have found confusing.