Adding Ripple animation
suggest changeTo enable the ripple animation in a CardView, add the following attributes:
<android.support.v7.widget.CardView
...
android:clickable="true"
android:foreground="?android:attr/selectableItemBackground">
...
</android.support.v7.widget.CardView>
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents