The Rest of the Story

As already mentioned, the res/ directory tree holds resources—static files that are packaged along with your application, either in their original form or, occasionally, in a preprocessed form. Some of the subdirectories you will find or create under res / include

• res/layout/ for XML-based UI layout specifications

• res/menu/ for XML-based menu specifications

• res/raw/ for general-purpose files (e.g., a CSV file of account information)

• res/values/ for strings, dimensions, and the like

• res/xml/ for other general-purpose XML files you wish to ship

We will cover all of these and more in later chapters of this book, particularly Chapter 19.

0 0

Post a comment