Google is testing multi-colored Quick Settings icons in Android 11

栏目: IT技术 · 发布时间: 4年前

内容简介:Google’s first Android 11 Developer Preview was justreleased yesterday, but a lot of its best features are hidden away from public view. We’ve detailed some of the upcoming major UI changes already, and I’m personally a fan ofall the ones we’ve seen so far

Google’s first Android 11 Developer Preview was justreleased yesterday, but a lot of its best features are hidden away from public view. We’ve detailed some of the upcoming major UI changes already, and I’m personally a fan ofall the ones we’ve seen so far. While continuing to dig into the Android 11 system dump from the Pixel 4, I discovered a new class called “QSColorController” in SystemUI. This class is responsible for overriding the color of tiles in the Quick Settings panel, and through some debug commands referenced in the code, it’s possible to individually change the colors of each Quick Setting tile.

Google is testing multi-colored Quick Settings icons in Android 11 As you can see above, the Wi-Fi, Bluetooth, Do Not Disturb, Auto-rotate, and Battery Saver icons have colors that are different from the current theme on myPixel 2 XL. My Pixel 2 XL is running the stock theme with dark mode enabled in Android 11, which means that the color of each Quick Setting tile should be blue like the Flashlight icon. However, using the debug commands, I changed the colors of some of the icons to yellow, red, and green. The colors that you can pick currently include blue along with the aforementioned yellow, red, and green, though Google may add more colors in the future. The functionality of each Quick Setting tile doesn’t change—just the icon color.

I’m not entirely sure what Google intends to do with this feature; it’s possible that Google will expand the Pixel Themes app in Android 11 with this added functionality, but it’s also possible that Google will let developers set the color of their own Quick Settings tiles. XDA’s Zachary Wander got this feature working on the Android 11 emulator in Android Studio, so it doesn’t seem like this feature will be Pixel-exclusive. I’m personally not a fan of this multi-colored Quick Settings panel, but I wouldn’t mind having the option there for people who want it. I don’t know if this feature, like the other UI tests we spotted, will be enabled in the stable release, but we’ll continue tracking this feature as Google releases more Android 11 previews.

Android 11 News on XDA


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

安全测试指南(第4版)

安全测试指南(第4版)

OWASP基金会 / 电子工业出版社 / 2016-7-1 / CNY 89.00

软件安全问题也许是这个时代面临的*为重要的技术挑战。Web应用程序让业务、社交等网络活动飞速发展,这同时也加剧了它们对软件安全的要求。我们急需建立一个强大的方法来编写和保护我们的互联网、Web应用程序和数据,并基于工程和科学的原则,用一致的、可重复的和定义的方法来测试软件安全问题。本书正是实现这个目标的重要一步,作为一本安全测试指南,详细讲解了Web应用测试的“4W1H”,即“什么是测试”、“为什......一起来看看 《安全测试指南(第4版)》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具