リソースクラスRを参照せずに、プログラムでint []として保持されているリソースIDを受け取ることは可能ですか?
<declare-styleable name="com_facebook_login_view">
<attr name="confirm_logout" format="boolean"/>
<attr name="fetch_user_info" format="boolean"/>
<attr name="login_text" format="string"/>
<attr name="logout_text" format="string"/>
</declare-styleable>
問題は、定義された'declare-styleable'属性のIDを解決できないことです-0x00は常に返されます:
int id = context.getResources().getIdentifier( "com_facebook_login_view", "declare-styleable", context.getPackageName() );
int[] resourceIDs = context.getResources().getIntArray( id );