語言

WindowManagerLayoutParams.ScreenOrientation 屬性

定義

窗戶的特定方向值。

[Android.Runtime.Register("screenOrientation")]
public Android.Content.PM.ScreenOrientation ScreenOrientation { get; set; }
[<Android.Runtime.Register("screenOrientation")>]
member this.ScreenOrientation : Android.Content.PM.ScreenOrientation with get, set

屬性值

屬性

備註

窗戶的特定方向值。 可能包含與 相同的值。android.content.pm.ActivityInfo#screenOrientation 若未設定,則會使用預設值 。android.content.pm.ActivityInfo#SCREEN_ORIENTATION_UNSPECIFIED

Java 文件 android.view.WindowManager.LayoutParams.screenOrientation。

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

適用於