Create an xml directory under the res directory and put it there.

This is described in this document:
http://developer.android.com/intl/de/guide/topics/resources/resources-i18n.html


On Jan 30, 2:22 pm, kaasinees <[email protected]> wrote:
> Greetings humane, I come in peace.
>
> I have the following XML file which serves as database for my
> application.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <units>
>         <category id="0" text="Length" base="metre">
>                 <unit name="metre" ratio="1" />
>                 <unit name="mile" ratio="0.0006213711922373339" />
>         </category>
>         <category id="1" text="Area">
>         </category>
>         <category id="2" text="Volume">
>         </category>
> </units>
>
> I have placed this xml file under the src folder in my com package
> where my MainActivity resides.
> The compiler  however is giving me this following error:
>
> ERROR Invalid start tag units   units.xml       /univerter/src/com/shinyu/
> univerter       line 2  Android AAPT Problem
>
> My xml is not placed in the right place, i believe. Where can i
> correctly put it?
>
> Android 1.5, Java, Eclipse.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to