8
I have a ListView where each list item is a custom layout based on a RelativeLayout, it is clickable and it has a custom selector. En plus, it has a sub-RelativeLayout which is also clickable and it has its own selector.
Something like this:
---------------
| |
| ___ |
| | | |
---------------
Everything works perfectly but the problem is that when I click on the parent relative layout, the child selector assumes the state of the parent selector. I tried to set
android:duplicateParentState="false"
on the child but nothing has changed.
Any idea? Thanks in advance