title: Android design support and other library give gradle build error: "headerLayout" has already been defined
body: <p>I would like to add the design suppport library (com.android.support:design:22.2.0) but I got this error message:</p>
  <blockquote>
  <p>&quot;headerLayout&quot; has already been defined</p>
  </blockquote>
  <p>I tried to find which library use this from my library list and maybe this one:
  <a href="https://github.com/traex/ExpandableLayout" rel="nofollow noreferrer">https://github.com/traex/ExpandableLayout</a></p>
  <p>How can I use theme same time? Thank you!</p>
  <p><strong>Edit:</strong>
  here is some detail:</p>
  <blockquote>
  <p>Error:(1) Attribute &quot;headerLayout&quot; has already been defined ...</p>
  <p>...debug\values\values.xml:440: error: Attribute &quot;headerLayout&quot; has already been defined</p>
  </blockquote>
  <p>And this is the 440. line:</p>
  <pre><code>&lt;declare-styleable name=&quot;NavigationView&quot;&gt;
      &lt;attr name=&quot;android:background&quot;/&gt;&lt;attr name=&quot;android:fitsSystemWindows&quot;/&gt;
      &lt;attr name=&quot;android:maxWidth&quot;/&gt;&lt;attr name=&quot;elevation&quot;/&gt;
      &lt;attr format=&quot;reference&quot; name=&quot;menu&quot;/&gt;
      &lt;attr format=&quot;color&quot; name=&quot;itemIconTint&quot;/&gt;
      &lt;attr format=&quot;color&quot; name=&quot;itemTextColor&quot;/&gt;
      &lt;attr format=&quot;reference&quot; name=&quot;itemBackground&quot;/&gt;
      &lt;attr format=&quot;reference&quot; name=&quot;headerLayout&quot;/&gt;
  &lt;/declare-styleable&gt;
  </code></pre>
  <p>and I found another item with this reference name, which is come from ExpandableLayout:</p>
  <pre><code>&lt;declare-styleable name=&quot;ExpandableLayout&quot;&gt;
      &lt;attr format=&quot;reference&quot; name=&quot;headerLayout&quot;/&gt;
      &lt;attr format=&quot;reference&quot; name=&quot;contentLayout&quot;/&gt;
      &lt;attr format=&quot;integer&quot; name=&quot;duration&quot;/&gt;
  &lt;/declare-styleable&gt;
  </code></pre>
  <p>What is the solution? Because I can't modify these properties.</p>