API
来源:互联网 发布:sublime的python插件 编辑:程序博客网 时间:2024/06/17 02:34
void android.app.Activity.
setRequestedOrientation(int requestedOrientation)
Change the desired orientation of this activity.If the activity is currently in the foreground or otherwise impacting the screen orientation, the screen will immediately be changed (possibly causing the activity to be restarted).
Otherwise, this will be used the next time the activity is visible.
改变正在使用的 Activity 的方向为所需要的(方向)。
如果 当前的在 foreground(前景) 的 Activity 或其他的方式 影响了屏幕方向,这屏幕(方向)会立即改变(可能导致(你的)活动的从新启动)
否则,这将使得下一次的活动可见。(不太理解)
Parameters:
requestedOrientation An orientation constant as used in ActivityInfo.screenOrientation.
参数:
requestedOrientation(请求的方向) 在 ActivityInfo.screenOrientation 的一个方向常量
0 0
- API
- api
- API
- API
- api
- API
- API
- API
- API
- API
- API
- API
- API
- API
- api
- api
- API
- API
- 我需要发现自己
- RTMP服务器的延迟,多级边缘不影响延迟,gop为最大因素
- Lawrence - HDU 2829斜率优化,四边形不等式优化
- 【华为OJ】输入n个整数,输出其中最小的k个
- 关闭谷歌chrome xss过滤器
- API
- 使用URL启动android默认浏览器,启动指定浏览器
- HDU acm 2600 war
- ListView的常见优化:获取网络图片异步加载,分批加载,分页显示,图片缓存等优化方式
- C++中map容器的说明和使用技巧
- 二叉搜索树与双向链表
- oracle表空间的删除 用户的删除
- 毕业课题之------------图像的直线提取--hough变换
- C#中的委托(Delegate)和事件(Event)