Enumerating Key Android Resources

Now that you've been through the basics of resources, let's enumerate some of the other key resources that Android supports, their XML representations, and the way they're used in Java code. (You can use this section as a quick reference as you write resource files for each resource.) To begin, take a quick glance at the types of resources and what they are used for in Table 3–1.



Each of the resources specified in this table is further elaborated in the following sections with XML and Java code snippets.

NOTE: ...

Get Pro Android 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.