Android.Content.Res Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains APIs for accessing application resources and describing device configurations that affect resource selection.
Classes
| Name | Description |
|---|---|
| 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 |
| AssetFileDescriptor.AutoCloseOutputStream |
An OutputStream you can create on a ParcelFileDescriptor, which will
take care of calling |
| AssetFileDescriptor.InterfaceConsts |
Contains constants inherited from the Android Parcelable interface. |
| AssetManager |
Provides access to an application's raw asset files; see |
| AssetManager.AssetInputStream |
An input stream for reading an asset. |
| ColorStateList |
Lets you map |
| ColorStateList.InterfaceConsts |
Contains constants inherited from the Android Parcelable interface. |
| Configuration |
This class describes all device configuration information that can impact the resources the application retrieves. |
| Configuration.InterfaceConsts |
Contains constants inherited from the Android |
| ObbInfo |
Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file. |
| ObbInfo.InterfaceConsts |
Contains constants inherited from the Android Parcelable interface. |
| ObbScanner |
Class to scan Opaque Binary Blob (OBB) files. |
| Resources |
Class for accessing an application's resources. |
| Resources.NotFoundException |
This exception is thrown by the resource APIs when a requested resource can not be found. |
| Resources.Theme |
This class holds the current attribute values for a particular theme. |
| TypedArray |
Container for an array of values that were retrieved with
|
Interfaces
| Name | Description |
|---|---|
| IFontScaleConverter |
A converter for non-linear font scaling. |
| IXmlResourceParser |
The XML parsing interface returned for an XML resource. |
Enums
| Name | Description |
|---|---|
| Access |
Enumerates values returned by several methods of Access and taken as a parameter of the F:Android.Content.Res.AssetManager.Open member. |
| ColorMode |
Describes the color capabilities of a screen. |
| GrammaticalGender |
Specifies the user's preferred grammatical gender for terms of address in an application. |
| HardKeyboardHidden |
Enumerates values returned by several types. |
| KeyboardHidden |
Enumerates values returned by several types. |
| KeyboardType |
Enumerates values returned by several types. |
| Navigation |
Enumerates values returned by several types. |
| NavigationHidden |
Enumerates values returned by several types. |
| ObbFlags |
Enumerates values returned by several types. |
| Orientation |
Enumerates values returned by several types. |
| Screen |
Enumerates values returned by several types. |
| ScreenLayout |
Enumerates values returned by several types. |
| TouchScreenType |
Enumerates values returned by several types. |
| UiMode |
Enumerates values returned by several types. |
Remarks
Use these APIs to access packaged assets and typed resources, resolve themed attributes, and inspect resource-relevant device configuration.