1. A and B. Both 12-bit and 24-bit color are supported.

2. True. Simply include a file as a raw resource.

3. B and D. Although all four formats are supported, they are not all encouraged. PNG graphics, including Nine-Patch Stretchable graphics, are highly encouraged for Android development because they are lossless and efficient. JPG files are acceptable but lossy, and GIF file use is outright discouraged.

4. False. Resource filenames may contain letters, numbers, and underscores and must be lowercase.

5. False. The resource names dictate the variable names used to reference the resources programmatically.

0 0

Post a comment