android: How can I define custom colors, drawables, etc. in themes?
<p>I hope I can explain what I'm after.  In essence, my users have asked me to allow different looks in my application, which I hope I can do with themes.</p>

<p>I hoped I could do something like this:</p>

<pre><code>&lt;style name="NewTheme" parent="android:Theme.Dark"&gt;
  &lt;item name="labelColor"&gt;#f90&lt;/item&gt;
  &lt;item name="buttonColor"&gt;#fff&lt;/item&gt;
  &lt;item name="buttonBg"&gt;@drawable/button&lt;/item&gt;
&lt;/style&gt;
&lt;style name="OldTheme" parent="android:Theme.Dark"&gt;
  &lt;item name="labelColor"&gt;#fa0&lt;/item&gt;
  &lt;item name="buttonColor"&gt;#88f&lt;/item&gt;
  &lt;item name="buttonBg"&gt;@drawable/button_old&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>And then reference these values in my styles.xml:</p>

<pre><code>&lt;style name="labelStyle"&gt;
  &lt;item name="android:textColor&gt;@labelColor&lt;/item&gt;
&lt;/style&gt;
&lt;style name="buttonStyle"&gt;
  &lt;item name="android:textcolor"&gt;@buttonColor&lt;/item&gt;
  &lt;item name="android:background"&gt;@buttonBg&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>I know this syntax is wrong, but what might be the right syntax?  Basically, I want to create sets of attributes (color, background, a couple other things) and select them based on theme.</p>
