title: Setting a different theme
body: <p>I want to use a few themes, for instance, Dark and Light.
  I have written in the style.xml two different styles: DarkStyle and LightStyle. I have set part of the volatile properties by color.xml and part straight away.</p>
  
  <pre><code>&lt;style name="BaseTheme.LightStyle"&gt;
  &lt;item name="clientBrand"&gt;@color/clientBrand&lt;/item&gt;
  &lt;item name="desktopScreenBg"&gt;#E6E6E6&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name="BaseTheme.DarkStyle"&gt;
  &lt;item name="clientBrand"&gt;@color/clientBrand&lt;/item&gt;
  &lt;item name="desktopScreenBg"&gt;#000000&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <ol>
  <li>Which is the best practice to the choice theme<br>
  a. Build time?<br>
  b. Run time?<br></li>
  <li>How I can to set to some other theme values from my theme.</li>
  </ol>
  
  <p><code>&lt;style name="OtherTheme"&gt;
              &lt;item name="android:textColor"&gt;dependsOnChosenTheme&lt;/item&gt;
          &lt;/style&gt;</code></p>
  
  <p><br>The final goal is:</p>
  
  <pre><code>&lt;ViewGroup background = DarkOrLightColorBg/&gt;
  &lt;TextView textColor = DarkOrLightColorBg/&gt;
  </code></pre>
  
  <p>I figured out how to bind the desired theme in the build time<br></p>
  
  <pre><code>&lt;style name="LightStyle"&gt;
  &lt;style name="DarkStyle"&gt;
  //by requrements
  &lt;style name="DarkStyle.ActiveStyle"&gt;
  </code></pre>
  
  <p>Now, how I can do something like this?</p>
  
  <pre><code>&lt;ViewGroup backgroun=ActiveStyle.colorBg/&gt;
  //Or
  &lt;style SomeTheme 
  &lt;item name="android:textColor"&gt;@style/ActiveStile.colorText&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>