screenOrientation | 含义 |
---|---|
landscape | 横屏 |
portrait | 竖屏 |
unspecified | 由系统选择–默认 |
user | 根据用户的首选方向 |
sensor | 根据传感器的方向 |
nosensor | 不根据传感器的方向 |
behind | 与堆栈下的方向相同 |
Android基础:screenOrientation 屏幕方向
最新推荐文章于 2023-07-19 09:13:10 发布
screenOrientation | 含义 |
---|---|
landscape | 横屏 |
portrait | 竖屏 |
unspecified | 由系统选择–默认 |
user | 根据用户的首选方向 |
sensor | 根据传感器的方向 |
nosensor | 不根据传感器的方向 |
behind | 与堆栈下的方向相同 |