screenOrientation属性详解
来源:互联网 发布:linux 万兆网卡配置 编辑:程序博客网 时间:2024/06/18 13:37
android:screenOrientation设定该活动的方向,该值可以是任何一个下面的字符串:
"unspecified"
- 默认值. 由系统选择显示方向. 在不同的设备可能会有所不同.
"landscape"
- 横向
"portrait"
- 纵向
"user"
- 用用户当前的首选方向
"behind"
- 与在活动堆栈下的活动相同方向
"sensor"
- 根据物理方向传感器确定方向. 取决于用户手持的方向, 当用户转动设备, 它跟随改变
"nosensor"
- 不经物理方向传感器确定方向. 该传感器被忽略, 所以當用户转动设备, 显示不會跟随改变. 除了这个区别,系统选择使用相同的政策取向对于“未指定”设置. 系统根据“未指定”("unspecified")设定选择相同显示方向.
转载:http://blog.csdn.net/nmgchfzhzhg/article/details/8077133
0 0
- android:screenOrientation属性详解
- screenOrientation属性详解
- android:screenOrientation属性详解
- Activity 的属性之android:screenOrientation详解
- android中屏幕方向screenOrientation属性详解
- Manifest文件中Activity的screenOrientation属性详解
- android:screenOrientation属性
- android screenOrientation属性
- Android screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- android:screenOrientation属性
- Play framework 2.x 连接mysql
- 清除浏览器缓存
- git学习及利用github创建个人博客
- 在 Ubuntu 用 OpenNI支持 使用 ASUS Xtion 传感器
- php input 提交条数超载
- screenOrientation属性详解
- Python 中变量的赋值问题
- 把OnDraw和OnPaint弄清楚(转贴)
- c++输入输出格式的控制
- URL中带的中文提交到服务器成乱码
- Maven依赖Scope标签用法
- 1022. Digital Library (30)
- iOS App性能优化 29 MAY 2013
- 中国机器人打破持续行走里程吉尼斯世界纪录