1.assets: The corresponding tag will not be generated under the R.java file, theAssets folder can create its own folder and must be accessed using the Assetsmanager class. The resources stored here will be bundled into the program installation package when running
2.res: tokens are generated under the R.java file, where the resources are used to determine which ones are in use when the package operation is run, and the file resources that are not used are not packaged in the installation package.
Res/raw and Assets folders to store files that do not need to be compiled into binary systems, such as font files, etc.
You can also define directories under the Res folder:
Res/anim: This is an animated resource.
res/xml: You can use GetResource () in activity. GetXML () Read the resource file here
Res/raw: files in this directory can be copied directly to the device, cannot have subfolders , compile the software, the data here does not need to compile, directly into the program installation package, using the method is GetResource (). Openrawresources (ID), where the parameter ID is in the form of r.raw.xxx.
Android Knowledge Summary