共用方式為


ActivityInfo.ScreenOrientation Property

Definition

The preferred screen orientation this activity would like to run in.

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

Property Value

Attributes

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