title: Is it possible to make color resources private in android?
body: <p>I was wondering if its possible to have private color resources in android?</p>
  
  <p>Eg:
  Files in main:
  colors.xml:</p>
  
  <pre><code>  &lt;color name="red"&gt;#520A2A&lt;/color&gt;
    &lt;color name="red_darken_1"&gt;#A11453&lt;/color&gt;
  </code></pre>
  
  <p>Files in flavor 1:
  element_colors.xml:</p>
  
  <pre><code>  &lt;color name="header_color"&gt;@colors/red&lt;/color&gt;
    &lt;color name="footer_color"&gt;@color/red_darken_1&lt;/color&gt;
  </code></pre>
  
  <p>Files in flavor 2:
  colors.xml:</p>
  
  <pre><code>  &lt;color name="blue"&gt;#041B3F&lt;/color&gt;
    &lt;color name="blue_darken_1"&gt;#244B77&lt;/color&gt;
  </code></pre>
  
  <p>element_colors.xml:</p>
  
  <pre><code>  &lt;color name="header_color"&gt;@colors/blue&lt;/color&gt;
    &lt;color name="footer_color"&gt;@color/blue_darken_1&lt;/color&gt;
  </code></pre>
  
  <p>Now I don't want people to use colors in layout files or styles from colors.xml, but I always want them to use it from element_colors.xml so that the app does not become specific to a single flavor. 
  Basically, how to make some color files inaccessible to layouts and styles?</p>