Sdílet prostřednictvím


WindowManagerLayoutParams.ScreenOrientation Property

Definition

Specific orientation value for a window.

[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

Property Value

Attributes

Remarks

Specific orientation value for a window. May be any of the same values allowed for android.content.pm.ActivityInfo#screenOrientation. If not set, a default value of android.content.pm.ActivityInfo#SCREEN_ORIENTATION_UNSPECIFIED will be used.

Java documentation for android.view.WindowManager.LayoutParams.screenOrientation.

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