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


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

查看所有标签

猜你喜欢:

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

Effective C++

Effective C++

梅耶 (Scott Meyers) / 侯捷 / 电子工业出版社 / 2011-1-1 / 65.00元

《Effective C++:改善程序与设计的55个具体做法(第3版)(中文版)(双色)》内容简介:有人说C++程序员可以分为两类,读过Effective C++的和没读过的。世界项级C++大师scott Meyers成名之作的第三版的确当得起这样的评价。当您读过《Effective C++:改善程序与设计的55个具体做法(第3版)(中文版)(双色)》之后,就获得了迅速提升自己C++功力的一个契机......一起来看看 《Effective C++》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具