android detecting touch event in a layout with many children
<p>I have a linearlayout with a header view followed by a listview and another view (say view A) below the list. I want to toggle the visibility if View A when either the header or the list is touched. For this I had set an onTouchListener on the linearLayout but the on touch method doesnot seem to be called</p>
