2014-09-21 166 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