title: "Cannot Resolve Symbol" Error when using android:id="@+android:id/my_id"
body: <p>When I am adding android:id/background to the namespace, Lint complains that it "Cannot Resolve Symbol" even though I am requesting to add it rather than call it. The code works as written, but the error persists. When I change <code>&lt;item android:id="@+android:id/background" to &lt;item android:id="@+id/background"</code>, the application stops working (another call breaks). My question is: why does Lint not recognize me adding android:id/background to the namespace even though a call to it functions well? Is there some better way to give this item an id that won't have Lint throw an error?</p>
  
  <p>All three of the namespace definitions for the items in the layer-list below throw a lint error:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:id="@+android:id/background"
          android:drawable="@drawable/custom_ratingbar_empty" /&gt;
      &lt;item android:id="@+android:id/secondaryProgress"
          android:drawable="@drawable/custom_ratingbar_empty" /&gt;
      &lt;item android:id="@+android:id/progress"
          android:drawable="@drawable/custom_ratingbar_filled" /&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>I found <a href="https://stackoverflow.com/questions/17054000/cannot-resolve-symbol-r-android-studio">this</a> and tried running build->clean as suggested with no success.</p>