To provide alternate resources you supply extra subdirectories under
the res directory. To provide other language strings you'd do
something like:

res/
    values/
        strings.xml
    values-en/
        strings.xml
    values-ja/
        strings.xml

Does this also work for preference screens? We'd like different sets
of preferences for pre OS 2.2 devices and OS 2.2 and greater devices.
I tried:

res/
    xml/
        preferences.xml
    xml-v8/
        preferences.xml

But the res/xml/preferences.xml file seems to be loaded on all devices
and the res/xml-v8/preferences.xml file is ignored.

I have a work around so it isn't critical, but would be nice to know.

-- 
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