Android Card View ripple effect starts right after a click
<p>I have a simple card view list. When clicking a card, I set a ripple effect:</p>

<pre><code>&lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="170dp"
android:layout_margin="5dp"
android:foreground="?android:attr/selectableItemBackground"
android:orientation="horizontal"
card_view:cardBackgroundColor="@android:color/white"
card_view:cardCornerRadius="5dp"

card_view:cardUseCompatPadding="true"&gt;
</code></pre>

<p>It seems like the ripple effect starts right after I click on a card.
So the ripple effect happens most of the times I just click on the card in order to scroll it. This is an annoying behavior.</p>

<p>Is there a way of "delaying" the ripple effect or making it happen only on a real click and not also on a scroll?</p>