如何更改 Angular 应用程序的状态栏颜色(Cordova - android)
状态栏颜色应与当前页面背景颜色相同。它应该是动态的。 我尝试使用 cordova 插件,但无法为不同页面设置不同的颜色。
Status bar color should be same like current page background color. It should be dynamic.
I tried using cordova plugin but I'm not able to set different color for different pages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您绝对可以根据您的情况尝试在 Angular 中使用 [ngStyle] 来实现此目的,例如:
You can definitely try to use [ngStyle] in your Angular for this depending on a condition you have, for example: