Skip to content

Most visited

Recently visited

added in API level 1


Contains classes for accessing application resources, such as raw asset files, colors, drawables, media or other 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.


XmlResourceParser The XML parsing interface returned for an XML resource. 


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. 
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 obtainStyledAttributes(AttributeSet, int[], int, int) or obtainAttributes(AttributeSet, int[])


Resources.NotFoundException This exception is thrown by the resource APIs when a requested resource can not be found. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)