TabHost - get selector to work for inner child of tab view?
<p>I have a TabHost, and each of my tabs are individual views which look like:</p>

<pre><code>&lt;LinearLayout orientation="vertical"&gt;
  &lt;ImageView /&gt;
  &lt;TextView /&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>I can set a selector on the parent LinearLayout so that when the user touches the tab, its background changes, but the child ImageView (with the same selector pattern) does not get its state changed. Trying the following:</p>

<pre><code>&lt;item 
  android:state_focused="true" 
  android:state_pressed="true" 
  android:drawable="@drawable/plz_hilite_me" /&gt;
</code></pre>

<p>This works for the final focus state of the tab, both the parent LinearLayout and the child ImageView have the hilited backgrounds specified in the selector displayed. It's just the initial touch state which doesn't seem to get triggered for the inner child.</p>

<p>Hard to explain, hope that makes sense, thanks!</p>
