Android屏幕设置只允许上下旋转
2024-09-16 03:31:35
android:screenOrientation = ["unspecified" | "behind" |
"landscape" | "portrait" |
"reverseLandscape" | "reversePortrait" |
"sensorLandscape" | "sensorPortrait" |
"userLandscape" | "userPortrait" |
"sensor" | "fullSensor" | "nosensor" |
"user" | "fullUser" | "locked"]
带sensor的都是会根据重力旋转的。
最新文章
- ASP.NET Core 中文文档 第三章 原理(17)为你的服务器选择合适版本的.NET框架
- 《社交网络》里的评分公式——ELO排名系统
- SQL出错
- DIV横排/竖排滚动(white-space/::-webkit-scrollbar的使用技巧以及display: inline-block的选择)支持手势
- 【leetcode】Maximum Gap
- 0728关于html的几个基础知识点
- 基于时间点恢复数据库stopat
- python 中的map 详解
- c# 轻量级 ORM 框架 之 Model解析 (四)
- UNITY3D ShadeSH9
- Ztree中simpleData是怎么转换成标准ztree数组对象的
- 前端web应用组件化(一) 徐飞
- [Cocos2d-x v3.x]浅谈容器Vector
- for循环问题
- python高级-面向对象(11)
- 使用 windows server 2012 性能监视器
- wordpress 5.1 后台拿shell
- svg transform
- Windows 10恢复Shift+右键打开命令提示符窗口
- C++ 自定义错误类