Ripple effect in pressed state + transparency in normal state
I would like the ImageView in the ViewGroup, when pressed, draws the ripple and this is working ! But when the ViewGroup is pressed, the ImageView inside it, should remain transparent otherwise the ImageView background is visible: (that color alpha-orange, you actually see, is the ripple when pressed). This happens only with devices API 21+. With devices API <21 I use a selector and the image background remains transparent as wanted when the ViewGroup is pressed. layout.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/item_detail_field" android