I know how to add an onClick listener to a LinearLayout to make the whole layout a click target, but I\'d like to have the LinearLayout get highlighted when tapped just like a l
You can set all the elements inside the layout clickable=false. Then you should mimic selection behavior by setting layout background to some color and set all the other ones with background transparent when a layout is clicked. You can use layout id as index to know which layout is selected.