I want my statusbar to have the same background color as my barImage.
If I use barColor it works, but I need to use barImage.
This is my window, it has a black statusbar.
var win = Titanium.UI.createWindow({ titleControl:Ti.UI.createLabel({text:"Titletext",font:{fontFamily:"Helvetica",fontSize:"20dp",fontWeight:"bold"},color:"#fff"}), url:"home.js", backgroundColor:'#F5F5F5', statusBarStyle:Titanium.UI.iPhone.StatusBar.LIGHT_CONTENT, navTintColor:"#fff", translucent:false, barImage:"images/navbar.png", //barColor:"#b7d9bc", tabBarHidden:true, hideShadow:true });If I use the following code instead, the statusbar has the same color as the navbar (barColor), this is what I want, but I need to use barImage because I need to set the hideShadow property to true (ignored if I don't have a barImage)
var win = Titanium.UI.createWindow({ titleControl:Ti.UI.createLabel({text:"Titletext",font:{fontFamily:"Helvetica",fontSize:"20dp",fontWeight:"bold"},color:"#fff"}), url:"home.js", backgroundColor:'#F5F5F5', statusBarStyle:Titanium.UI.iPhone.StatusBar.LIGHT_CONTENT, navTintColor:"#fff", translucent:false, //barImage:"images/navbar.png", barColor:"#b7d9bc", tabBarHidden:true, hideShadow:true });Using titanium SDK 3.2.3.
I know I can make a custom navbar, but isn't there any easier solution?