Added in API level 1
android.content.res
Contains classes for accessing application resources, such as raw asset files, colors, drawables, media, or other files in the package, plus important device configuration details (orientation, input types, etc.) that affect how the application may behave.
For more information, see the Application Resources guide.
Interfaces
FontScaleConverter | A converter for non-linear font scaling. |
XmlResourceParser | The XML parsing interface returned for an XML resource. |
Classes
AssetFileDescriptor | File descriptor of an entry in the AssetManager. |
AssetFileDescriptor.AutoCloseInputStream |
An InputStream you can create on a ParcelFileDescriptor, which will
take care of calling ParcelFileDescriptor.close() for you when the stream is closed.
|
AssetFileDescriptor.AutoCloseOutputStream |
An OutputStream you can create on a ParcelFileDescriptor, which will
take care of calling ParcelFileDescriptor.close() for you when the stream is closed.
|
AssetManager |
Provides access to an application's raw asset files; see Resources
for the way most applications will want to retrieve their resource data.
|
AssetManager.AssetInputStream | |
ColorStateList |
Lets you map View state sets to colors.
|
Configuration | This class describes all device configuration information that can impact the resources the application retrieves. |
ObbInfo | Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file. |
ObbScanner | Class to scan Opaque Binary Blob (OBB) files. |
Resources | Class for accessing an application's resources. |
Resources.Theme | This class holds the current attribute values for a particular theme. |
TypedArray |
Container for an array of values that were retrieved with
Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int)
or Resources#obtainAttributes .
|
Exceptions
Resources.NotFoundException | This exception is thrown by the resource APIs when a requested resource can not be found. |
Interfaces
Classes
Exceptions