語言

Orientation 列舉

定義

列舉由多種類型回傳的值。

public enum Orientation
type Orientation = 
繼承
Orientation

欄位

名稱 值 Description
Undefined 0

對於 Orientation為常數 :表示尚未設定任何值。

Portrait 1

表示直向方向,對應 port 資源限定詞。

Landscape 2

表示景觀方向,對應 land 資源限定詞。

Square 3

表示方形方向。 此值已被棄用,且不被支援或使用。

備註

Android 平台文件。android.content.res.Configuration

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於