当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Is there a way to change status bar color?

问题描述:

Since Android Chrome 39, we can change the URL bar color with a simple <meta name="theme-color" content="#ff0000">. Automatically, the status bar also take this color, but with a dark overlay.

We can view it on the web fundamentals example : https://developers.google.com/web/fundamentals/device-access/stickyness/additional-customizations#color-the-browser-elements

Is there a way to prevent the status bar to go darker? And thus have a status bar with the same color of URL bar?

分享给朋友:
您可能感兴趣的文章:
随机阅读: