WindowManagerLayoutParams.ScreenOrientation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
窗口的特定方向值。
[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。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。