In class R there is this:
public static final class drawable { public static final int ic_launcher=0x7f020000; }
We can use in java R.drawable.ic_launcher to get this static int.
I have an xml file with Arrays and I want use something like this
<integer-array name="codes" >
<item name="firstItem">@drawable/ic_launcher</item>
<item name="secondItem">@drawable/ic_launcher</item>
</integer-array>
Is there any way to access these integers without using java?
No comments:
Post a Comment