I\'ve got a custom LinearLayout with a smaller TextView child. I\'d like to be able to click the area not covered by the TextView, so I set clickable=true and an onclicklist
android:duplicateParentState="true" did not help me.
android:duplicateParentState="true"
To make your layout clickable with its children you need add this option for every child:
android:clickable="false"
Then click handling will go up to parent.