ConfigChanges Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Content.Res.Configuration.NeedNewResources, and F:Android.Content.Res.Configuration.NeedNewResources members.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ConfigChanges
[<System.Flags>]
type ConfigChanges = 
Inheritance
ConfigChanges
Attributes

Fields

ColorMode 16384
Density 4096

Bit in ConfigChangesthat indicates that the activity can itself handle density changes.

FontScale 1073741824

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the font scaling factor.

FontWeightAdjustment 268435456
GrammaticalGender 32768
Keyboard 16

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the keyboard type.

KeyboardHidden 32
LayoutDirection 8192

Bit in ConfigChangesthat indicates that the activity can itself handle the change to layout direction.

Locale 4

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the locale.

Mcc 1

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the IMSI MCC.

Mnc 2

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the IMSI MNC.

Navigation 64

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the navigation type.

Orientation 128

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the screen orientation.

ScreenLayout 256

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the screen layout.

ScreenSize 1024

Bit in ConfigChangesthat indicates that the activity can itself handle the screen size.

SmallestScreenSize 2048

Bit in ConfigChangesthat indicates that the activity can itself handle the smallest screen size.

Touchscreen 8

Bit in ConfigChangesthat indicates that the activity can itself handle changes to the touchscreen type.

UiMode 512

Bit in ConfigChangesthat indicates that the activity can itself handle the ui mode.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to