在多任务视图中更改标题的颜色? [英] Changing color of header in multitask view?

查看:60
本文介绍了在多任务视图中更改标题的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎找不到任何有关更改多任务视图中应用程序中每个标题的颜色的文档.如您在下图中所看到的,所有标题都是默认的白色(我知道它们是网页,但仅使用该图像显示我想要更改的内容).

I can't seem to find any documentation on changing the color of the header for each in app the multitask view. As you can see in the image below, all the headers are default white ( I know they are webpages, but just using the image to show what I want to be changing).

推荐答案

我刚刚为cordova创建了一个名为" HeaderColor "的插件(仅对Android设备为 ),你想要什么.希望对您有帮助.

I just created a plugin called "HeaderColor" for cordova (only for Android devices) that does what you want. I hope it helps you.

cordova plugin add cordova-plugin-headercolor


用法:

window.plugins.headerColor.tint("#becb29");

结果:

https://github.com/tomloprod/cordova-plugin-headercolor

这篇关于在多任务视图中更改标题的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆