How to set clickable and highlightable a ViewStub?
- by Pentium10
I have ViewStubs in my layout. If I set clickable and implement the OnClickListener this does work only on the root of the element.
But the layout holds parent elements, and when I click on those the click is not recognized.
How do I make a full row/view of ViewStub as whole to be clickable and highlightable like a ListView elements?
Also what do I have to add to get that orange highlight?