Draw selector on top - for a basic linear layout?
<p>I want a selector click state for a simple layout to draw on top of its children. I think this is similar to the "drawSelectorOnTop" attribute in ListView. Example layout:</p>

<pre><code>&lt;LinearLayout
  android:background="@drawable/my_click_selector"&gt;
    &lt;LinearLayout
      android:background="#F00" /&gt;
&lt;/LinearLayout&gt;

---------------
|             |
| ----------- |
| ----------- |
|             |
---------------
</code></pre>

<p>So here we have a parent linear layout, and an inner child which has a solid background color (red). When I click the parent, the background color of the asset changes as defined in my selector, but since the child is closer to the user in the z-order, it remains unchanged.</p>

<p>Is there any way to have the selector selected-state drawn on top of all children instead of under?</p>

<p>Thanks</p>
