在Android上更改PickeView值文字颜色。
我在Titanium的合金项目中开发了Picker,我想改变PickerView的字体颜色。我已经将代码放入检查。我选择了房地产,因为背景为白色,字体颜色为白色。文字不可见
font: {fontColor: 'Black'}
它不起作用,请检查此图片
答案 0 :(得分:2)
我认为您需要创建自定义Android theme
<resources>
<style name="Theme.NoActionBar" parent="@style/Theme.AppCompat.Light"> </style>
</resources>
在/platform/android/res/values/custom_theme.xml中声明上述代码