2014-09-21 136 views
1

在Android上更改PickeView值文本颜色。在Titanium中更改pickerView字体颜色

我在Titanium合金项目中开发了Picker,我想改变PickerView的字体颜色。我已经通过将代码作为检查。我选择了Real Estate,因为背景是白色的,字体颜色是白色。该文本是不可见的

font: {fontColor: 'Black'} 

它不工作,请检查该图像enter image description here

回答

2

我相信你需要创建一个自定义Android theme

<resources> 
    <style name="Theme.NoActionBar" parent="@style/Theme.AppCompat.Light"> </style> 
</resources> 

在/平台申报上面的代码/android/res/values/custom_theme.xml

+0

很好,非常感谢你 – obaid 2014-09-22 11:37:40