Ionic/Cordova更改Android导航栏的颜色 [英] Ionic/Cordova Change Android Navigation Bar color
本文介绍了Ionic/Cordova更改Android导航栏的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试更改Android中导航栏的颜色(在底部,使用返回键和主键)-在没有硬件返回键和后退键的手机上.在我使用Cordova的Ionic应用程序中.
I'm trying to change the color of the Navigation Bar in Android (on the bottom, with the back and home keys) - on phones which do not have hardware home and back keys. in my Ionic app which uses Cordova.
有没有办法做到这一点?
Is there a way to do this?
示例:
推荐答案
找到了这个功能强大的cordova插件,它的功能非常漂亮:
https://www.npmjs.com/package/ionic-plugin-导航栏颜色
Found this awesome cordova plugin that does this beautifully:
https://www.npmjs.com/package/ionic-plugin-navigation-bar-color
这篇关于Ionic/Cordova更改Android导航栏的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文