The members of Android.Content.Res.Resources are listed below.
See Also: Inherited members from Java.Lang.Object
Create a new Resources object on top of an existing set of assets in an AssetManager. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | Assets | AssetManager. Retrieve underlying AssetManager storage for these resources. |
[read-only] | Configuration | Configuration. Return the current configuration that is in effect for this resource object. |
[read-only] | DisplayMetrics | Android.Util.DisplayMetrics. Return the current display metrics that are in effect for this resource object. |
[read-only] static | System | Resources. Return a global shared Resources object that provides access to only system resources (no application resources), and is not configured for the current screen (can not use dimension units, does not change based on orientation, etc). |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
FinishPreloading()Called by zygote when it is done preloading resources, to change back to normal Resources operation. | ||
FlushLayoutCache()Call this to remove all cached loaded layout resources from the Resources object. | ||
GetAnimation(int)Return an XmlResourceParser through which you can read an animation description for the given resource ID. | ||
GetBoolean(int)Return a boolean associated with a particular resource ID. | ||
GetColor(int)Return a color integer associated with a particular resource ID. | ||
GetColorStateList(int)Return a color state list associated with a particular resource ID. | ||
GetDimension(int)Retrieve a dimensional for a particular resource ID. | ||
GetDimensionPixelOffset(int)Retrieve a dimensional for a particular resource ID for use as an offset in raw pixels. | ||
GetDimensionPixelSize(int)Retrieve a dimensional for a particular resource ID for use as a size in raw pixels. | ||
GetDrawable(int)Return a drawable object associated with a particular resource ID. | ||
GetDrawable(int, Resources.Theme)Return a drawable object associated with a particular resource ID and styled for the specified theme. | ||
GetDrawableForDensity(int, int)Return a drawable object associated with a particular resource ID for the given screen density in DPI. | ||
GetDrawableForDensity(int, int, Resources.Theme)Return a drawable object associated with a particular resource ID for the given screen density in DPI and styled for the specified theme. | ||
GetFraction(int, int, int)Retrieve a fractional unit for a particular resource ID. | ||
GetIdentifier(string, string, string)Return a resource identifier for the given resource name. | ||
GetIntArray(int)Return the int array associated with a particular resource ID. | ||
GetInteger(int)Return an integer associated with a particular resource ID. | ||
GetLayout(int)Return an XmlResourceParser through which you can read a view layout description for the given resource ID. | ||
GetMovie(int)Return a movie object associated with the particular resource ID. | ||
GetQuantityString(int, int)Returns the string necessary for grammatically correct pluralization of the given resource ID for the given quantity. | ||
GetQuantityString(int, int, params Java.Lang.Object[])Documentation for this section has not yet been entered. | ||
GetQuantityText(int, int)Documentation for this section has not yet been entered. | ||
GetQuantityTextFormatted(int, int)Returns the character sequence necessary for grammatically correct pluralization of the given resource ID for the given quantity. | ||
GetResourceEntryName(int)Return the entry name for a given resource identifier. | ||
GetResourceName(int)Return the full name for a given resource identifier. | ||
GetResourcePackageName(int)Return the package name for a given resource identifier. | ||
GetResourceTypeName(int)Return the type name for a given resource identifier. | ||
GetString(int)Return the string value associated with a particular resource ID. | ||
GetString(int, params Java.Lang.Object[])Documentation for this section has not yet been entered. | ||
GetStringArray(int)Return the string array associated with a particular resource ID. | ||
GetText(int)Documentation for this section has not yet been entered. | ||
GetText(int, string)Documentation for this section has not yet been entered. | ||
GetTextArray(int)Documentation for this section has not yet been entered. | ||
GetTextArrayFormatted(int)Return the styled text array associated with a particular resource ID. | ||
GetTextFormatted(int)Return the string value associated with a particular resource ID. | ||
GetTextFormatted(int, Java.Lang.ICharSequence)Return the string value associated with a particular resource ID. | ||
GetValue(int, Android.Util.TypedValue, bool)Return the raw data associated with a particular resource ID. | ||
GetValue(string, Android.Util.TypedValue, bool)Return the raw data associated with a particular resource ID. | ||
GetValueForDensity(int, int, Android.Util.TypedValue, bool)Get the raw value associated with a resource with associated density. | ||
GetXml(int)Return an XmlResourceParser through which you can read a generic XML resource for the given resource ID. | ||
NewTheme()Generate a new Theme object for this set of Resources. | ||
ObtainAttributes(Android.Util.IAttributeSet, int[])Retrieve a set of basic attribute values from an AttributeSet, not performing styling of them using a theme and/or style resources. | ||
ObtainTypedArray(int)Return an array of heterogeneous values. | ||
OpenRawResource(int)Open a data stream for reading a raw resource. | ||
OpenRawResource(int, Android.Util.TypedValue)Open a data stream for reading a raw resource. | ||
OpenRawResourceFd(int)Open a file descriptor for reading a raw resource. | ||
ParseBundleExtra(string, Android.Util.IAttributeSet, Android.OS.Bundle)Parse a name/value pair out of an XML tag holding that data. | ||
ParseBundleExtras(System.Xml.XmlReader, Android.OS.Bundle)Parse a series of NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#Extra tags from an XML file. | ||
UpdateConfiguration(Configuration, Android.Util.DisplayMetrics)Store the newly updated configuration. |