v14 Layout File is not updating
<p>I have developed an android app with minSdk = 10 now I want to add a <em>Switch</em> in one of the Activity (has the layout file with name content_main.xml). </p>

<p>As the Switch need the minSdk to be 14, I have updated the same in AndroidManifest and </p>

<pre><code>&lt;uses-sdk
    android:minSdkVersion="14"
    android:targetSdkVersion="20" /&gt;
</code></pre>

<p>But when I added the Switch on the xml, it still giving an error as the </p>

<blockquote>
  <p>View requires API level 14 (current min is 10)</p>
</blockquote>

<p>Moreover Android Studio automatically created a duplicate layout file, one for the current sdk version and another for API level 14 and they are not being updated automatically, which creates a conflict in the UI. </p>

<p>Please do let me know, how to safely merge these two layout files to one to avoid the conflict. As I need a switch, how will use in this case (as the application does not seem to respond to Manifest file)</p>