Change Color of Title Bar
Hi there,
what value has to be in the tiapp.xml (or somewhere else) to get the title bar of my main window black?
3 Answers
-
Accepted Answer
Simple.
Set it (barColor) during creation:
var win = Titanium.UI.createWindow({
title: 'My Title',
url: 'my.js',
barColor: 'orange'
});or later using
win.barColor = 'red';
-
barColor in the window properties
have a look through the kitchensink to find this..
-
Ok i got it:
when you create the window, eg:
var win = Titanium.UI.createWindow({ title: ' Here your Title', url: 'hereYourFile.js', barColor: '#000' // here it is, instead of the blue you get a black bar });