Accessing <declare-styleable> resources programatically
<p>I've one question where I couldn't find any help:</p>

<p>Is it possible, to receive the resource-ids being kept by a as an int[] programatically without refering to the resource-class R ?</p>

<pre><code>&lt;declare-styleable name="com_facebook_login_view"&gt;
    &lt;attr name="confirm_logout" format="boolean"/&gt;
    &lt;attr name="fetch_user_info" format="boolean"/&gt;
    &lt;attr name="login_text" format="string"/&gt;
    &lt;attr name="logout_text" format="string"/&gt;
&lt;/declare-styleable&gt;
</code></pre>

<p>The problem is that I cannot resolve the ID of the defined 'declare-styleable' attribute - 0x00 is always returned:</p>

<pre><code>int id = context.getResources().getIdentifier( "com_facebook_login_view", "declare-styleable", context.getPackageName() ); 
int[] resourceIDs = context.getResources().getIntArray( id );
</code></pre>

<p>Any idea would be greatly appreciated! :)</p>

<p>Thanks in advance!</p>

<p>Christopher</p>
