Click here to Skip to main content
15,921,062 members

Comments by TheOldFogie (Top 1 by date)

TheOldFogie 16-Aug-19 16:16pm View    
The question has been updated with a proof of concept working example. That is if you create an App with the working example then you will see that it demonstrates trapping both Item and Button (ImageView) clicks. If you then simply change the ImageView's to ImageButtons the working example then only catches the Button clicks. There are XML options that allow Item onClick events to be handled. However I find it easier to use Views rather than Buttons. (I think descendantFocusability is one of the attributes that needs to be adjusted and perhaps clickable.)