Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)

(gtxtreme123) #1
Localizing Resources

Click OK. The new strings.xml file will be listed under res/values, with (es) after its name. The
strings files are grouped together in the project tool window’s Android view (Figure 18.3).


Figure 18.3  Viewing new strings.xml in Android view


However, if you explore the directory structure, you will see that your project now contains an
additional values directory: res/values-es. The newly generated strings.xml is located inside of this
new directory (Figure 18.4).


Figure 18.4  Viewing new strings.xml in Project view

Free download pdf