android screen Orientation=""的详解
来源:互联网 发布:淘宝云客服在线投诉网 编辑:程序博客网 时间:2024/06/16 09:26
Android只支持270度旋转。
<activity android:name=".MyActivity"
android:label="@string/app_name"
android:screenOrientation="portrait">
android:screenOrientation设定该活动的方向, 该值可以是任何一个下面的字符串:
"unspecified":默认值. 由系统选择显示方向. 在不同的设备可能会有所不同.
"landscape":橫向
"portrait":纵向
"user":用戶当前的首选方向
"behind":与在活动堆栈下的活动相同方向
"sensor": 根据物理方向传感器确定方向. 取决于用戶手持的方向, 当用戶转动设备, 它跟隨改变.
"nosensor":不经物理方向传感器確定方向. 该传感器被忽略, 所以当用戶转动设备, 显示不會跟隨改变. 除了这个区别,系統选择使用相同的政策取向对于“未指定”设置. 系統根据“未指定”("unspecified")设定选择相同显示方向
0 0
- android screen Orientation=""的详解
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- android:configChanges="orientation|keyboardHidden"的使用
- HTML5: Screen Orientation API
- 关于Android的Orientation问题
- 【Orientation】详解Android中的屏幕方向
- android:configChanges="orientation" 不起作用
- android:configChanges="orientation" 不起作用
- android:configChanges="orientation"使用中应该注意的问题
- android:orientation
- Preserving the state of an Android WebView on screen orientation change
- Preserving the state of an Android WebView on screen orientation change
- Eclipse中运行MapReduce程序时控制台打印进度信息
- UVA - 188 Perfect Hash
- 微服务
- android studio 更改左边目录栏的背景色
- sql server 内置MD5加密函数
- android screen Orientation=""的详解
- jquery表格动态添加及各行变色效果
- iOS活体人脸识别的Demo和一些思路
- 用css绘制常见图形
- C++异常
- Struts 框架
- 大数据性能调优之HBase的RowKey设计
- mybaits+oracle批量操作
- VR之Unity 开发Pico测试之UI和Object的交互