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

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

内容简介: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


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

查看所有标签

猜你喜欢:

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

测试驱动开发的艺术

测试驱动开发的艺术

Lasse Koskela / 李贝 / 人民邮电出版社 / 20101023 / 59.00元

在传统的软件开发中,开发人员对于代码是否正确心中无底,一切依赖于后期的测试环节。极限编程反其道而行之,主张采用测试驱动开发(TDD)的方法,即通过测试定义所要开发的功能的接口,然后实现功能的开发过程。TDD通过不断地测试推动代码的开发,既简化了代码,又保证了软件质量。 本书采用“手把手”的教学方式,通过大量实例来解释TDD,还专门用几章的篇幅来讲解如何为难于测试的技术编写单元测试。全书内容循......一起来看看 《测试驱动开发的艺术》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

MD5 加密
MD5 加密

MD5 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换