Strings Resources
Thestrings.xml file holds the user-viewable strings for your app. The following is a sample definition in strings.xml:
strings.xml file that contains the non-default resources for the locale. Put the file in a directory named values-xx-rYY, where xx is the ISO-639 language code and YY is the ISO-3166-1 region code. The following shows several example directories.
strings.xml for the resources that you do not specify in the locale-specific file. For example, if you do not put a “hello” string in values-en-rGB, the system falls back to using the default “hello” string.
Drawable Resources
Many apps have menus, price lists, or instructions written as bitmaps or other graphical data. The following example shows a folder structure for providing dynamic resource handling for drawable resources.drawable directory. You can create a file /drawable-en-rGB/background.xml with the following contents. Any reference to “background” that resolves to the drawable-en-GB directory automatically uses the resource /drawable/background_common.
Currency Resources
You can format currency data by locale. Important elements are the currency symbol and the decimal divider, as shown in the following example:en_US, or fr_FR. Otherwise, you may not get the correct formatting. For example, not all countries that use French as primary language have the same currency.
