Added ability to set statusbar background color by hex string.

This commit is contained in:
Shazron Abdullah
2013-10-06 01:18:06 -07:00
parent da275b579f
commit 058c6b71cc
3 changed files with 25 additions and 0 deletions
+4
View File
@@ -50,6 +50,10 @@ StatusBar.statusBarBackgroundColorByName = function(colorname) {
exec(null, null, "StatusBar", "statusBarBackgroundColorByName", [colorname]);
}
StatusBar.statusBarBackgroundColorByHexString = function(hexString) {
exec(null, null, "StatusBar", "statusBarBackgroundColorByHexString", [hexString]);
}
// TODO:
StatusBar.isVisible = true;