Images from XML

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Images from XML

Postby eosproject » Sun Feb 14, 2010 1:51 pm

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.

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
eosproject
Freshman
Freshman
 
Posts: 4
Joined: Sun Feb 14, 2010 1:48 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests