Partager via


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
SizeUndefined 0

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

Undefined 0
SizeSmall 1
SizeNormal 2
SizeLarge 3
SizeXlarge 4
LayoutdirShift 6

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

SizeMask 15

Constant for ScreenLayout: bits that encode the size.

LongNo 16
LongYes 32
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
RoundYes 512
RoundMask 768

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