You should add following to CardView
:
android:foreground="?android:attr/selectableItemBackground"
android:clickable="true"
You should add following to CardView
:
android:foreground="?android:attr/selectableItemBackground"
android:clickable="true"