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