我目前正在 Appcelerator Titanium 1.2.1 中构建一个应用程序。
我已经能够使用以下方法设置应用程序的标题栏/导航栏颜色:
var tabGroup = Titanium.UI.createTabGroup(
{
barColor:'#fff'
});
问题是,使用白色标题栏时,文本变得难以阅读。是否可以将文本颜色从白色更改为其他颜色? (说“黑色”作为对比)?
最佳答案
posted solution below ,基本上创建一个标签并使用控件设置窗口标题
http://blog.clearlyinnovative.com/post/1484840648/titanium-appcelerator-quickie-change-text-style-in
关于javascript - iPhone : How to change titlebar text/font colour in Appcelerator Titanium,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4085670/