title: Extracting common attributes from a Dark and Light theme
body: <p>I have a dark theme and a light theme in my app where the dark theme extends Theme.AppCompat.NoActionBar and the light theme extends Theme.AppCompat.Light.NoActionBar.</p>
  
  <p>I have a lot of custom attributes in those light and dark theme that i have to duplicate in both those themes.</p>
  
  <p>I was wondering if there is a way to actually have all those attributes in a common place and be used by both light and dark theme.</p>
  
  <p>Example below to make things even more clear:</p>
  
  <pre><code> &lt;style name="MotherThemeDark" parent="Theme.AppCompat.NoActionBar"&gt;
          &lt;!-- Base application theme common to all sdk versions --&gt;
          &lt;!--Colors--&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/brand_dark&lt;/item&gt;
          &lt;item name="colorPrimary"&gt;@color/brand&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/brand_accent&lt;/item&gt;
          &lt;item name="colorPositive"&gt;@color/positive&lt;/item&gt;
          &lt;item name="colorPositiveDark"&gt;@color/positive_dark&lt;/item&gt;
          &lt;item name="colorNegative"&gt;@color/negative&lt;/item&gt;
          &lt;item name="colorNegativeDark"&gt;@color/negative_dark&lt;/item&gt;
          &lt;item name="colorNegativeLight"&gt;@color/negative_light&lt;/item&gt;
          &lt;item name="colorMedium"&gt;@color/medium&lt;/item&gt;
  ....
  ...Things specific to this theme goes here
  ....
  &lt;/style&gt;
  
  
  
   &lt;style name="MotherTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
              &lt;!-- Base application theme common to all sdk versions --&gt;
              &lt;!--Colors--&gt;
              &lt;item name="colorPrimaryDark"&gt;@color/brand_dark&lt;/item&gt;
              &lt;item name="colorPrimary"&gt;@color/brand&lt;/item&gt;
              &lt;item name="colorAccent"&gt;@color/brand_accent&lt;/item&gt;
              &lt;item name="colorPositive"&gt;@color/positive&lt;/item&gt;
              &lt;item name="colorPositiveDark"&gt;@color/positive_dark&lt;/item&gt;
              &lt;item name="colorNegative"&gt;@color/negative&lt;/item&gt;
              &lt;item name="colorNegativeDark"&gt;@color/negative_dark&lt;/item&gt;
              &lt;item name="colorNegativeLight"&gt;@color/negative_light&lt;/item&gt;
              &lt;item name="colorMedium"&gt;@color/medium&lt;/item&gt;
      ....
      ...Things specific to this theme goes here
      ....
      &lt;/style&gt;
  </code></pre>