How do you make an entire control clickable in android?
<p>I have a custom control in android that has a text view, some images, etc.</p>

<p>i want to make the entire control clickable.</p>

<p>i declared the layout with:</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:clickable="true" android:layout_width="fill_parent" android:layout_height="50px" android:layout_gravity="center_vertical"&gt;
</code></pre>

<p>even though it has that android:clickable attribute set to true, the click event never fires.</p>

<p>am i doing something wrong?</p>
