Custom attrs parameter used in styles.xml
<p>I have a set of custom Android layout parameters defined in attrs.xml. Now I would like to use some tags in my styles.xml file.</p>

<p>At the moment I get this error:</p>

<pre><code>error: Error: No resource found that matches the given name: attr 'custom:tag'
</code></pre>

<p>I have tried declaring custom XML namespace as follows:</p>

<pre><code>&lt;resources
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res/com.my.project"
&gt;
</code></pre>

<p>hoping, that the same logic used in every layout declaration can be applied here, but with no success.</p>
