Is it confirmed that I cannot use themed color attribute in color state list resource
<p>Is it confirmed that I cannot use themed color attribute, in <a href="http://developer.android.com/guide/topics/resources/color-list-resource.html" rel="nofollow">color state list resource</a>?</p>

<p>I have the following code which <strong>works pretty perfect.</strong></p>

<h2>color/home_menu_text_view_selector.xml</h2>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:state_pressed="true" android:color="#ffffffff" /&gt;    &lt;!-- pressed --&gt;
    &lt;item android:state_focused="true" android:color="#ffffffff" /&gt;    &lt;!-- focused --&gt;
    &lt;item android:state_selected="true" android:color="#ffffffff" /&gt;   &lt;!-- selected --&gt;
    &lt;item android:color="#ff000000" /&gt;                                 &lt;!-- default --&gt;
&lt;/selector&gt;
</code></pre>

<h2>layout/home_menu_row.xml</h2>

<pre><code>&lt;!-- Use duplicateParentState, so that we can receive click event from parent linear layout --&gt;
&lt;TextView
    android:id="@+id/name"
    android:gravity="center_vertical"
    android:padding="5dp"
    android:layout_width="0dp"
    android:layout_weight="1"
    android:layout_height="48dp"
    android:duplicateParentState="true"        
    android:textColor="@color/home_menu_text_view_selector"
    android:drawablePadding="10dp" /&gt;
</code></pre>

<p>However, if I tune the code to the following, it no longer work. When in default mode, it no longer change to my desired color. <code>?android:attr/textColorPrimary</code> suppose be a black color (#ff000000) in my case.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:state_pressed="true" android:color="#ffffffff" /&gt;    &lt;!-- pressed --&gt;
    &lt;item android:state_focused="true" android:color="#ffffffff" /&gt;    &lt;!-- focused --&gt;
    &lt;item android:state_selected="true" android:color="#ffffffff" /&gt;   &lt;!-- selected --&gt;
    &lt;item android:color="?android:attr/textColorPrimary" /&gt;            &lt;!-- default --&gt;
&lt;/selector&gt;
</code></pre>

<p>Someone asked a similar question <a href="http://stackoverflow.com/questions/3757696/can-a-selector-resource-use-a-color-defined-in-a-style?lq=1">Can a selector resource use a color defined in a style?</a> as mine, but no concrete answer yet. Hence, I throw out this ball again. :)</p>
