title: Creating styles-v21.xml
body: <p>In Android Studio, I imported a project which did not include <code>styles.xml (v21)</code>.
  So I created a <code>styles-v21.xml</code> file in the <code>values</code> directory. Both <code>styles.xml</code> and <code>styles-v21.xml</code> are in the <code>values</code> directory now.</p>
  
  <p>styles.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
      &lt;style name="AppTheme" parent="AppTheme.Base"&gt;
          &lt;!-- Customize your theme here. --&gt;
      &lt;/style&gt;
  
      &lt;style name="AppTheme.Base" parent="Theme.AppCompat.Light"&gt;
  
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>styles-v21.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;style name="AppTheme" parent="android:Theme.Material.Light.DarkActionBar"&gt;
  
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>When I build the project I get a build error:</p>
  
  <blockquote>
    <p>Error:Error: Duplicate resources: C:\xxx\main\res\values\styles-v21.xml:style/AppTheme, C:\xxx\main\res\values\styles.xml:style/AppTheme</p>
  </blockquote>
  
  <p>The error is that both resource files have the same <code>style</code> name: <code>AppTheme</code>. 
  But in other projects and tutorials I've seen, these <code>styles</code> have the same name. One is for Android with version 21 compatibility and the other is for Android without the compatibility.</p>
  
  <p>I guess I want to know if I should simply change the name or if these files are supposed to have the same name - which means there is a bigger problem at hand. How should I proceed?</p>