CardViewにクリックエフェクトを付ける
このの2行でクリックエフェクトがつくようになる。
android:foreground="?android:attr/selectableItemBackground"
android:clickable="true"
つまり、こんな感じだな
<android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true" android:foreground="?android:attr/selectableItemBackground" android:longClickable="true" app:cardCornerRadius="8dp" app:cardElevation="2dp" >
参考