Google在Android P中隐藏了真棒的按应用自动旋转功能

Historically, when you turn your phone on its side, the screen rotates. To keep this from happening, you can lock the orientation. But with Android P, Google included a way to have to the best of both worlds.

从历史上看,当您将手机侧放时,屏幕会旋转。 为了防止这种情况发生,您可以锁定方向。 但是,借助Android P,Google提供了一种兼具两全其美的方式。

This new feature, which doesn’t seem to have an exact name, allows the display to be rotated on a per-app bases. But here’s the catch: it only works when rotation lock is enabled. But that’s what makes it so simply brilliant.

这项似乎没有确切名称的新功能使显示可以基于每个应用程序旋转。 但是这里有个问题:仅在启用旋转锁定时它才有效。 但这就是它如此出色的原因。

Here’s how it works. Lock the screen rotation by pulling down the notification shade and tapping the Auto-rotate button (black is off). Now, fire up an app that you’re sure will rotate and turn the screen.

运作方式如下。 下拉通知栏并点击“自动旋转”按钮(黑色关闭),以锁定屏幕旋转。 现在,启动一个您确定会旋转并旋转屏幕的应用程序。

A little rotate button should show up in the corner of the navigation bar—tap it to rotate the screen. To go back to the “regular” orientation, turn the phone again. The button will appear again and you can flip it back.

导航栏的角落应该会出现一个小小的旋转按钮,点击以旋转屏幕。 要返回“常规”方向,请再次转动手机。 该按钮将再次出现,您可以将其向后翻转。

With this feature, you can make sure the screen doesn’t rotate when you don’t want it to, but still flip specific apps into the alternation orientation when you need to. Since it works on a per-app basis, you’ll have control over display orientation like never before.

借助此功能,您可以确保在不需要时屏幕不会旋转,但在需要时仍可将特定应用翻转为交替显示方向。 由于它是基于每个应用程序的,因此您可以前所未有地控制显示方向。

翻译自: https://www.howtogeek.com/fyi/google-hid-an-awesome-per-app-auto-rotate-feature-in-android-p/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/279343.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

python 位置参数、默认参数、可变参数位置关系_python的位置参数、默认参数、关键字参数、可变参数区别...

一、位置参数调用函数时根据函数定义的参数位置来传递参数#!/usr/bin/env python#codingutf-8defprint_hello(name, sex):sex_dict {1: u先生, 2: u女士}print hello %s %s, welcome to python world! %(name, sex_dict.get(sex, u先生))#两个参数的顺序必须一一对应&#xff0…

2015年终总结

2019独角兽企业重金招聘Python工程师标准>>> 2015年终总结 用勇气改变可以改变的事情,用胸怀接受不可以改变的事情,然后用智慧分辨两者的不同! 短信平台sms 影像系统fastfile 统一信任中心uts(单点登录) 简历增加 总结…

笔记本本地连接显示电缆拔出_没有安全电缆槽的笔记本电脑如何固定?

笔记本本地连接显示电缆拔出Historically laptops included a slot in the side for attaching security cables–as seen in the photo here–but increasingly more slender laptops like ultrabooks are omitting the lock-slot from their case design. How do you properl…

JMeter中添加dubbo相关插件异常问题解决

从网上下载了一个dubbo的插件,然后放到JMeter的/lib/ext目录下: 然后启动直接异常 发现启动不了,然后下载了一个全新的JMeter3.2将dubbo插件放到同样的目录,启动,没有问题: 那应该不是JMeter本身的问题 通过…

向量空间余弦相似度

设向量a和向量b 则a•b|a||b|cos,|a|和|b|分别为两向量的模 cos即为两向量的余弦值,所以cosa•b/|a||b| 距离和相似性度量: http://blog.sina.com.cn/s/blog_6045a9da01011nk7.html 转载于:https://www.cnblogs.com/lsai/p/3715948.html

linux提升文件夹权限命令_Linux常用命令_(文件权限)

Linux权限管理:二、权限管理1、3种基本权限在Linux中,将使用系统资源的人员分为4类:超级用户、文件或目录的属主、属主的同组人和其他人员。超级用户拥有对Linux系统一切操作权限,对 于其他3类用户都要指定对文件和目录的访问权限…

Servlet异常

一、http status 404 解决办法:检查web.xml中的配置文件,发现jsp页面的提交路径action和web.xml中的路径不匹配,将其修改过来。转载于:https://www.cnblogs.com/ltfxy/p/9671256.html

disk genius_如何预约Apple Store商店或Genius Bar

disk geniusMaybe you have a cracked iPhone screen or your MacBook Pro isn’t charging properly. Whatever your issue, there’s an app for that! If you need tech support or repairs for your Apple device, it’s easy to set up a service appointment right from …

[置顶] C#中通过调用webService获取上网IP地址的区域的方法

最近在开发项目的过程中需要获取用户查询时的IP地址的区域,以用来做统计分析用。经过一番查阅资料,然后写了个测试程序,很快就搞定了这个功能。 现在分享下我的实现方法,大家如果有更好的实现,欢迎提出哦。 首先我找到…

hashmap 存取原理图_HashMap底层实现原理

HashMap底层原理总结,几个Hash集合之间的对比。HashMap底层存储结构HashMap是一个用于存储Key-Value键值对的集合,每一个键值对也叫做一个Entry。这些Entry分散存储在一个数组当中,这个数组就是HashMap的主干。1234567* The table, initializ…

LVM逻辑卷创建管理

在虚拟机中再次添加三张硬盘 1、查看添加的硬盘 [rootrhel-02 ~]# fdisk -l 2、添加分区 [rootrhel-02 ~]# fdisk /dev/sdb 查看分区并保存 3、将物理硬盘分区初始化为物理卷,以便LVM使用 如果没安装LVM的话先去安装 [rootrhel-02 ~]# yum install lvm2 安装完成…

Start DWM manually on Windows 7 and vista

方法一: 1. 检查两处注册表项及键值是否与下列数值一致 HKEY-Current-User\Software\Microsoft\Windows\DWM\Composition 键值改为 1 HKEY-Current-User\Software\Microsoft\Windows\DWM\CompositionPolicy 键值改为2 2. 打开运行(可能要用到管理员模式启…

java启动mysq服务_Java Web开发——MySQL数据库的安装与配置

MySQL是一个关系型数据库管理系统,由瑞典MySQL AB 公司开发,目前属于 Oracle 旗下产品。MySQL 是最流行的关系型数据库管理系统之一,在 WEB 应用方面,MySQL是最好的 RDBMS (Relational Database Management System,关系…

小程序如何获得手机号码_获得小型企业电话号码的最佳方法

小程序如何获得手机号码Lots of small businesses use their personal cellphones when making work related phone calls. Some may even be using old landlines for their calling needs. While it makes sense to use your cellphone, and it can be scary to make a chang…

空间数据索引RTree完全解析及Java实现

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/MongChia1993/article/details/69941783第一部分 空间数据的背景介绍 空间数据的建模 基于实体的模型(基于对象)Entity-based models (or object base…

Android 中的ORM框架

在android 中,内置了sqlite数据库,java web 中,用惯了Hibernate ,想找找android中是否也有类似的orm框架,后来在开源中国看到了orman,这是一个很不错的框架。 这个可以帮我们快捷方便的实现数据库的CURD操作…

android页面布局 如何让中间的listview填充剩余部分_谷歌驾驶设计—界面设计布局...

本节提供了可在不同屏幕尺寸范围内缩放的屏幕布局的设计指南。此处定义的padding和keyline值用于Components,Media规范、Notification Center规范和Dialer规范中。指南概览(TL:DR):基于适当的屏幕尺寸类别的基本布局使…

ios 禁用滑动手势_如何禁用笔记本电脑上的Windows 8滑动手势?

ios 禁用滑动手势If you’re not a fan of the touchpad-based swipe gestures in Windows 8 there is a way to completely disable them and reclaim your touchpad. 如果您不喜欢Windows 8中基于触摸板的滑动手势,可以使用一种方法来完全禁用它们并收回您的触摸板…

Java快速入门-01-基础篇

Java快速入门-01-基础篇 如果基础不好或者想学的很细,请参看:菜鸟教程-JAVA本笔记适合快速学习,文章后面也会包含一些常见面试问题,记住快捷键操作,一些内容我就不转载了,直接附上链接,嘻嘻开发…

Excel导入MS SQL SERVER 操作

关于Excel导入到sql操作的相关问题总结: 一、大批量数据导入 方法1、从Excel大批量数据导入时我们可以使用sql里面有一个batch copy的功能 方法2、在sql中建一个table type结构,在前端将excel读到datatable中,把整个datatable作为存储过程参数…