Software Archive
Read-only legacy content
17061 Discussions

Change Androids Status Bar Color using Cordova plugin

Arnau_F_
Beginner
369 Views

--English--

Hi all, I'm using Intel XDK 2807 and I'm trying to change the Android statusbar color by using the cordova plugin called StatusBarPlugin 2.0.0. I've tried everything but nothings seems to work, changing the .xml files didn't do anything. Adding Javascript functions and adding the cordova.js script didn't do anything too so this is driving me crazy.

I'm developing an application using HTML5 + Javascript.

Can someone please give me a step by step solution please? Thanks in advance

 

--Spanish--

Hola a todos, estoy usando el Intel XDK 2807 y estoy intentando cambiar el color de la barra de estado de Android (donde aparecen los iconos como la hora, la bateria etc) usando el plugin de cordova. Lo he intentado todo pero nada me funciona, alguien me puede decir el paso a paso para conseguirlo por favor?

Muchas gracias

0 Kudos
1 Reply
Rakshith_K_Intel
Employee
369 Views

After adding plugin, you have to add this to intelxdk.config.additions.xml file to change color of statusbar:

<preference name="StatusBarBackgroundColor" value="#ff0000" />

0 Kudos
Reply