how to set foreground attribute in cardview in 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"