There is such a selector
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@color/colorAccent" /> <item android:drawable="@android:color/holo_red_dark" /> </selector>
Is it possible to apply it to the RecyclerView element so that in the normal state there is a second color, and when pressed / touched / held, as in the ListView, it changes to a different color?
This selector was used as a background for CardView but did not help.