ripple effect on cardview android code example
Example: add tap animation cardview android
android:foreground="?android:attr/selectableItemBackground"
android:clickable="true"
android:foreground="?android:attr/selectableItemBackground"
android:clickable="true"