Partager via


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

Name Value Description
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.

Locale 4

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

Touchscreen 8

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

Keyboard 16

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

KeyboardHidden 32
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.

UiMode 512

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

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.

Density 4096

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

LayoutDirection 8192

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

ColorMode 16384
GrammaticalGender 32768
FontWeightAdjustment 268435456
FontScale 1073741824

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

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