Android Guides | Samples

Android.Content.Res Namespace

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.

Remarks

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.

Classes

TypeReason
AccessEnumerates values returned by several methods of Access and taken as a parameter of the AssetManager.Open member.
AssetFileDescriptorFile descriptor of an entry in the AssetManager.
AssetFileDescriptor+AutoCloseInputStreamAn InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.Close for you when the stream is closed.
AssetFileDescriptor+AutoCloseOutputStreamAn OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.Close for you when the stream is closed.
AssetFileDescriptor+InterfaceConsts
AssetManagerProvides access to an application's raw asset files; see Resources for the way most applications will want to retrieve their resource data.
ColorStateListLets you map View state sets to colors.
ColorStateList+InterfaceConsts
ConfigurationThis class describes all device configuration information that can impact the resources the application retrieves.
Configuration+InterfaceConsts
HardKeyboardHiddenEnumerates values returned by several types.
IXmlResourceParserThe XML parsing interface returned for an XML resource.
KeyboardHiddenEnumerates values returned by several types.
KeyboardTypeEnumerates values returned by several types.
NavigationEnumerates values returned by several types.
NavigationHiddenEnumerates values returned by several types.
ObbFlagsEnumerates values returned by several types.
ObbInfoBasic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file.
ObbInfo+InterfaceConsts
ObbScannerClass to scan Opaque Binary Blob (OBB) files.
OrientationEnumerates values returned by several types.
ResourcesClass for accessing an application's resources.
Resources+NotFoundExceptionThis exception is thrown by the resource APIs when a requested resource can not be found.
Resources+ThemeThis class holds the current attribute values for a particular theme.
ScreenEnumerates values returned by several types.
ScreenLayoutEnumerates values returned by several types.
TouchScreenTypeEnumerates values returned by several types.
TypedArrayContainer for an array of values that were retrieved with NoType:android/content/res/Resources$Theme;Href=../../../../reference/android/content/res/Resources.Theme.html#obtainStyledAttributes(android.util.AttributeSet, int[], int, int) or Resources.ObtainAttributes(IAttributeSet,Int32[]).
UiModeEnumerates values returned by several types.