Android applications can use many different types of resources, including application-specific resources and system-wide resources. The Eclipse resource editors facilitate resource management, but XML resource files can also be edited manually. Once defined, resources can be accessed programmatically as well as referenced, by name, by other resources. String, color, and dimension values are stored in specially formatted XML files, and graphic images are stored as individual files. Application user interfaces are defined using XML layout files. Raw files, which can include custom data formats, may also be included as resources for use by the application. Finally, applications may include uncompiled binary files, which are called application assets.
Was this article helpful?