title: Android Use custom themes to modify style attributes
body: <p>I want to create two themes, GrayTheme and RedTheme, that modify one style attribute. For example here are my two themes, default font color is white, which is fine for both themes:</p>
  
  <pre><code>&lt;style name="RedTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColor"&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="GrayTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColor"&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But I have a style that I use for Header TextViews. If I am using the RedTheme I want the style HeaderFont to have textColor red and if it is the GrayTheme I want the HeaderFont textColor to be gray, without me having to modify the individual xml files that access this HeaderFont style.</p>
  
  <pre><code>&lt;style name="HeaderFont" parent="@android:style/TextAppearance.Medium"&gt;
      &lt;item name="android:textColor"&gt;@color/gray&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I've been searching around looking for a graceful solution to this, but haven't been able to find anything. Ideas?</p>