How can I find out current theme values - e.g. windowBackground

I defined this in my styles.xml file

    <color name="custom_theme_color">?android:attr/windowBackground</color>

Then in a layout set

  <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/custom_theme_color"   <<<
        android:text="@string/hello_world" />

That that results in an exception.

What am I doing wrong

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to