Chapter 4
Application Resources
Resources are one of the most important components of an application. It is always good practice to externalize resources in order to maintain consistency and to prevent resource duplication, as resources can be referenced from multiple places within the application. Decoupling the code and the resources also has other advantages.
- Localization of the Application: The application can carry an alternative set of resources for various languages, and it can switch between them based on the user’s locale during runtime. This makes it possible to support multiple languages and locales with a single application binary.
- Device Specific Look and Feel: As the Android platform is highly fragmented, there is no magic ...
Get Android Quick APIs Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.