android - how to make a layout not obscure a gesture?
<p>Imagine you have a big linearlayout, let's call it <strong>originalLayout</strong> that has a gestureDetector set to it.
Then you also inflate a ReLayNewsItem layout and put it into the originalLayout.</p>

<pre><code>LayoutInflater inflater = (LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
RelativeLayout ReLayNewsItem = (RelativeLayout) inflater.inflate(R.layout.newsitem, null); 
...
originalLayout.addView(ReLayNewsItem);
</code></pre>

<p>Now gestureDetector works only on the empty space of the originalLayout and does not work where I have the ReLayNewsItem.</p>

<p><strong>What's the best way to make ReLayNewsItem not obscure gesture?</strong></p>

<p><em>P.S. I can not set the same gestureDetector onto ReLayNewsItem.</em></p>

<p>ReLayNewsItem.setClickable(false); - doesn't work.</p>
