Note Only the assets directory because its not under the res directory can contain an arbitrary list of subdirectories Every other directory can have files only at the level of that directory and no deeper This is how Rjava generates identifiers for those

Let us conclude this section on resources by quickly enumerating what you have learned about resources so far. You know the types of resources supported in Android and you know how to create these resources in XML files. You know how resource IDs are generated and how to use them in Java code. You also learned that resource ID generation is a convenient scheme that simplifies resource usage in Android. Finally, you learned how to work with raw resources and assets. With that, we will now turn our attention to the section on content providers, where you will learn to work with data on Android.

0 0

Post a comment