Summary

Let's conclude this chapter by quickly enumerating what you have learned about resources so far:

  • You know the types of resources supported in Android.
  • You know how to create resources in XML files.
  • You know how resource IDs are generated and how to use them in Java code.
  • You learned that resource ID generation is a convenient scheme that simplifies resource usage in Android.
  • You learned how to work with XML resources, raw resources, and assets.
  • You briefly touched on alternate resources.
  • You saw how to define and use plurals and string arrays.
  • You learned about resource-reference syntax.

Get Pro Android 4 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.