• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Images from XML

Hi everyone! Can somebody help wih such problem.
I need to take out of XML file images to view it on display using XML parser.
I proclaimed in xml file passes to images.
Thanks!
 
Using something like it:

res/xml/game.xml

<game>
<level>
<bg />
<items>
<item android:drawable="@drawable/item1" ... />
<item android:drawable="@drawable/item2" ... />
</items>
</level>
<level>
</level>

Is it clear??

So in java class I need to use XmlResourseParser
 
Back
Top Bottom