title: How to avoid duplicate value for resource 'attr/*' in CustomView
body: <p>If I import:</p>
  
  <p><strong>CustomViewA</strong> (imported from Maven)</p>
  
  <pre><code>&lt;declare-styleable name="CustomViewA"&gt;
          &lt;attr name="min" format="float"/&gt;
          &lt;attr name="max" format="float"/&gt;
  &lt;/declare-styleable&gt;
  </code></pre>
  
  <p><strong>CustomViewB</strong> (imported from Maven)</p>
  
  <pre><code>&lt;declare-styleable name="CustomViewB"&gt;
          &lt;attr name="min" format="float"/&gt;
          &lt;attr name="max" format="float"/&gt;
  &lt;/declare-styleable&gt;
  </code></pre>
  
  <p>This will fail saying that <strong>min</strong> and <strong>max</strong> are duplicated. I thought Android would distinguish by the <code>declare-styleable name</code>, but guess not. Saying that, what's the best way to name a custom View <em><code>attr</code></em> to avoid any possible duplicate value clash in the future?   </p>
  
  <p>The only solution I got so far is:</p>
  
  <pre><code>&lt;attr name="minForMyCustomViewHopingNoOneUsesThisName" format="float"/&gt;
  </code></pre>
  
  <p>Which sucks.</p>