Android Guides | Samples

Android.Content.PM.ConfigChanges Enumeration

Enumerates values returned by several types and taken as a parameter of the Configuration.NeedNewResources, and Configuration.NeedNewResources members.

Syntax

[System.Flags]
public enum ConfigChanges

Remarks

Members

Member NameDescription
DensityBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle density changes. Set from the Resource+Attribute.ConfigChanges attribute.
FontScaleBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the font scaling factor. Set from the Resource+Attribute.ConfigChanges attribute. This is not a core resource configuration, but a higher-level value, so its constant starts at the high bits.
KeyboardBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the keyboard type. Set from the Resource+Attribute.ConfigChanges attribute.
KeyboardHiddenBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the keyboard or navigation being hidden/exposed. Note that inspite of the name, this applies to the changes to any hidden states: keyboard or navigation. Set from the Resource+Attribute.ConfigChanges attribute.
LayoutDirectionBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the change to layout direction. Set from the Resource+Attribute.ConfigChanges attribute.
LocaleBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the locale. Set from the Resource+Attribute.ConfigChanges attribute.
MccBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the IMSI MCC. Set from the Resource+Attribute.ConfigChanges attribute.
MncBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the IMSI MNC. Set from the Resource+Attribute.ConfigChanges attribute.
NavigationBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the navigation type. Set from the Resource+Attribute.ConfigChanges attribute.
OrientationBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the screen orientation. Set from the Resource+Attribute.ConfigChanges attribute.
ScreenLayoutBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the screen layout. Set from the Resource+Attribute.ConfigChanges attribute.
ScreenSizeBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the screen size. Set from the Resource+Attribute.ConfigChanges attribute. This will be set by default for applications that target an earlier version than Build+VERSION_CODES.HoneycombMr2... however, you will not see the bit set here becomes some applications incorrectly compare ActivityInfo.ConfigChanges against an absolute value rather than correctly masking out the bits they are interested in. Please don't do that, thanks.
SmallestScreenSizeBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the smallest screen size. Set from the Resource+Attribute.ConfigChanges attribute. This will be set by default for applications that target an earlier version than Build+VERSION_CODES.HoneycombMr2... however, you will not see the bit set here becomes some applications incorrectly compare ActivityInfo.ConfigChanges against an absolute value rather than correctly masking out the bits they are interested in. Please don't do that, thanks.
TouchscreenBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the touchscreen type. Set from the Resource+Attribute.ConfigChanges attribute.
UiModeBit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the ui mode. Set from the Resource+Attribute.ConfigChanges attribute.

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Content.PM.ConfigChanges are listed below.

See Also: Enum

Public Fields

DensityConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle density changes. Set from the Resource+Attribute.ConfigChanges attribute.
FontScaleConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the font scaling factor. Set from the Resource+Attribute.ConfigChanges attribute. This is not a core resource configuration, but a higher-level value, so its constant starts at the high bits.
KeyboardConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the keyboard type. Set from the Resource+Attribute.ConfigChanges attribute.
KeyboardHiddenConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the keyboard or navigation being hidden/exposed. Note that inspite of the name, this applies to the changes to any hidden states: keyboard or navigation. Set from the Resource+Attribute.ConfigChanges attribute.
LayoutDirectionConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the change to layout direction. Set from the Resource+Attribute.ConfigChanges attribute.
LocaleConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the locale. Set from the Resource+Attribute.ConfigChanges attribute.
MccConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the IMSI MCC. Set from the Resource+Attribute.ConfigChanges attribute.
MncConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the IMSI MNC. Set from the Resource+Attribute.ConfigChanges attribute.
NavigationConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the navigation type. Set from the Resource+Attribute.ConfigChanges attribute.
OrientationConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the screen orientation. Set from the Resource+Attribute.ConfigChanges attribute.
ScreenLayoutConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the screen layout. Set from the Resource+Attribute.ConfigChanges attribute.
ScreenSizeConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the screen size. Set from the Resource+Attribute.ConfigChanges attribute. This will be set by default for applications that target an earlier version than Build+VERSION_CODES.HoneycombMr2... however, you will not see the bit set here becomes some applications incorrectly compare ActivityInfo.ConfigChanges against an absolute value rather than correctly masking out the bits they are interested in. Please don't do that, thanks.
SmallestScreenSizeConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the smallest screen size. Set from the Resource+Attribute.ConfigChanges attribute. This will be set by default for applications that target an earlier version than Build+VERSION_CODES.HoneycombMr2... however, you will not see the bit set here becomes some applications incorrectly compare ActivityInfo.ConfigChanges against an absolute value rather than correctly masking out the bits they are interested in. Please don't do that, thanks.
TouchscreenConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle changes to the touchscreen type. Set from the Resource+Attribute.ConfigChanges attribute.
UiModeConfigChanges. Bit in ActivityInfo.ConfigChanges that indicates that the activity can itself handle the ui mode. Set from the Resource+Attribute.ConfigChanges attribute.