It automatically detects new resources when you add them to the appropriate

It automatically detects new resources when you add

This preview shows page 7 - 14 out of 112 pages.

It automatically detects new resources when you add them to the appropriate project resource subdirectory under res/ . These resources are compiled, resulting in the generation of the R.java source file. This file enables you to access your resources programmatically .
Image of page 7

Subscribe to view the full document.

Resource Value Types Android applications rely on many different types of resources: These include text strings, graphics, color schemes, and other resources for user interface design. These resources are stored in the res directory of your Android project in a strict (but reasonably flexible) set of directories and files. All resource filenames must be lowercase and simple. They must use letters, numbers, and underscores only.
Image of page 8