Custom Android attribute without namespace
<p>I'm making custom <a href="http://developer.android.com/reference/android/view/LayoutInflater.Factory.html" rel="nofollow">LayoutInflater.Factory</a> and in onCreateView() method I'd like to obtain custom attribute specified for current view. However I don't want to declare styleable for this attribute. I can get this parameter if it was specified in xml attribute for this View using:
<code>    attrs.getAttributeValue(null, attributeName);</code><br>
I can even get it if it was specified in style parameter of the View using:
<code>    context.obtainStyledAttributes(attrs, new int[]{R.attr.custom_attribute);</code><br>
However it seems to be impossible to get this attribute if it's specified in theme. Any help would be appreciated.</p>

<p>Here is my xml resouces:</p>

<pre><code>&lt;style name="CustomTheme"
       parent="android:Theme.DeviceDefault"&gt;
     &lt;item name="android:textViewStyle"&gt;@style/TextView.Custom&lt;/item&gt;
&lt;/style&gt;

&lt;style name="TextView.Custom"&gt;
    &lt;item name="custom_attribute"&gt;"blabla"&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>P.S. I know I should declare slyleable resource for custom attributes, and it works if I do so, but I want to be sure it is not possible otherwise because it is simplier to use this way.</p>
