iPhone : How to change titlebar text/font colour in Appcelerator Titanium
-
28-09-2019 - |
문제
I'm currently building an app in Appcelerator Titanium 1.2.1.
I've been able to set the apps' titlebar/navbar colour using the following:
var tabGroup = Titanium.UI.createTabGroup(
{
barColor:'#fff'
});
Problem is, with a white titlebar, the text becomes hard to read. Is it possible to change the text colour from white to another colour? (say 'black' for contrast)?
해결책
posted solution below, basically create a label and set the window title with the control
http://blog.clearlyinnovative.com/post/1484840648/titanium-appcelerator-quickie-change-text-style-in
제휴하지 않습니다 StackOverflow