Android Recyclerview Item Clickable and Selectable Background

July 24, 2018
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clickable="true"
    android:background="?android:attr/selectableItemBackground">

</android.support.constraint.ConstraintLayout>    
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.