语言

Orientation 枚举

定义

枚举多个类型返回的值。

public enum Orientation
type Orientation = 
继承
Orientation

字段

名称 值 说明
Undefined 0

常 Orientation量:一个值,指示尚未设置任何值。

Portrait 1

指示与 port 资源限定符对应的纵向方向。

Landscape 2

指示与 land 资源限定符对应的横向方向。

Square 3

指示正方形方向。 此值已弃用,不支持或使用。

注解

适用于 . 的 android.content.res.ConfigurationAndroid 平台文档

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于