ConfigChanges 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 has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

ColorMode ColorMode 16384
Density Density 4096

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

FontScale FontScale 1073741824

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

Keyboard Keyboard 16

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

KeyboardHidden KeyboardHidden 32
LayoutDirection LayoutDirection 8192

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

Locale Locale 4

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

Mcc Mcc 1

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

Mnc Mnc 2

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

Navigation Navigation 64

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

Orientation Orientation 128

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

ScreenLayout ScreenLayout 256

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

ScreenSize ScreenSize 1024

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

SmallestScreenSize SmallestScreenSize 2048

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

Touchscreen Touchscreen 8

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

UiMode 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