I have the following case.
I have two string xml files under the dir of res/values and res/values-
small. The strings in the two files are used to describe the different
activity attribute. But i found that when i run my apk on QVGA
emulator, the system always get the string value from res/values. Here
is my example

<activity android:name="TestActivity"
            android:label="@TestLabel"
            android:taskAffinity="test"
            android:launchMode="@string/launchMode"
            android:clearTaskOnLaunch="@string/clearTask"
            android:enabled="@string/testEnabled"
        >

and then there are the following values in res/values/config.xml
    <string name="launchMode">0</string>
    <string name="clearTask">false</string>
    <string name="testEnabled">false</string>

and there are the following values in res/values-small/config.xml
    <string name="launchMode">2</string>
    <string name="clearTask">true</string>
    <string name="testEnabled">true</string>

when i run my apk on QVGA emulator, i found that the system always get
the values from res/values/config.xml. Thus i want to know if Android
support to use resource to describe the activity attribute, is there
anyone can give me some info or clues? thanks

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