Android.Content.Res.Configuration Class
This class describes all device configuration information that can impact the resources the application retrieves.

See Also: Configuration Members

Syntax

[Android.Runtime.Register("android/content/res/Configuration", DoNotGenerateAcw=true)]
public sealed class Configuration : Java.Lang.Object, Android.OS.IParcelable, Java.Lang.IComparable, IDisposable

Remarks

This class describes all device configuration information that can impact the resources the application retrieves. This includes both user-specified configuration options (locale and scaling) as well as device configurations (such as input modes, screen size and screen orientation).

java Example

Configuration config = getResources().getConfiguration();

You can acquire this object from Android.Content.Res.Resources, using Resources.Configuration. Thus, from an activity, you can get it by chaining the request with Android.Views.ContextThemeWrapper.getResources():

[Android Documentation]

Requirements

Namespace: Android.Content.Res
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1