Język

ScreenLayout Enum

Definition

Enumerates values returned by several types.

public enum ScreenLayout
type ScreenLayout = 
Inheritance
ScreenLayout

Fields

Name Value Description
LayoutdirUndefined 0

Constant for ScreenLayout: a LayoutdirMaskvalue indicating that no layout dir has been set.

LongUndefined 0

Constant for ScreenLayout: a LongMaskvalue indicating that no size has been set.

RoundUndefined 0

Indicates that whether the screen has a rounded shape is unknown.

SizeUndefined 0

Constant for ScreenLayout: a SizeMaskvalue indicating that no size has been set.

Undefined 0

Indicates that the screen layout is undefined.

SizeSmall 1

Indicates a small screen, corresponding to the small resource qualifier.

SizeNormal 2

Indicates a normal screen, corresponding to the normal resource qualifier.

SizeLarge 3

Indicates a large screen, corresponding to the large resource qualifier.

SizeXlarge 4

Indicates an extra-large screen, corresponding to the xlarge resource qualifier.

LayoutdirShift 6

Constant for ScreenLayout: bits shift to get the layout direction.

SizeMask 15

Constant for ScreenLayout: bits that encode the size.

LongNo 16

Indicates that the screen does not have a long aspect ratio.

LongYes 32

Indicates that the screen has a long aspect ratio.

LongMask 48

Constant for ScreenLayout: bits that encode the aspect ratio.

LayoutdirLtr 64

Constant for ScreenLayout: a LayoutdirMaskvalue indicating that a layout dir has been set to LTR.

LayoutdirRtl 128

Constant for ScreenLayout: a LayoutdirMaskvalue indicating that a layout dir has been set to RTL.

LayoutdirMask 192

Constant for ScreenLayout: bits that encode the layout direction.

RoundNo 256

Indicates that the screen does not have a rounded shape.

RoundYes 512

Indicates that the screen has a rounded shape.

RoundMask 768

Bits that encode the roundness of the screen.

Remarks

Android platform documentation for android.content.res.Configuration.

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