The document discusses the Android package and its classes. The android package contains resource classes used by platform applications and defines application permissions for system features. It contains the Manifest and R classes which define resources like animations, arrays, attributes, drawables, ids, layouts, menus, plurals, strings, styles and more that applications can access. Developers are advised to generally only use resources they provide and not depend on platform resources which may change.
3. package android
? Contains resource classes used by applications included in
the platform and defines application permissions for
system features.
? You can use some resources directly from these R classes in
your own applications, but you should generally use only
resources that you've provided directly in your application,
in order to provide a cohesive application package that has
no external dependencies. In particular, you should not use
drawable resources from the android package, because they
may change between platform versions, causing unforeseen
conflicts with your design. Typically, styles are the only
resources you should use directly from these resources.
? For information about using resources, see the Application
Resources developer guide.