obaid
obaid

Reputation: 902

Changing pickerView font color in Titanium

Change PickeView value text color on Android.

I have developed Picker in alloy project in Titanium, I want to change the font color of the PickerView. I have checked by putting the code as . I have selected Real Estate as the background is white, and the font color is white. The text is not visible

font: {fontColor: 'Black'}

It doesn't work, please check this imageenter image description here

Upvotes: 1

Views: 1709

Answers (1)

phil
phil

Reputation: 1960

I believe you need to create a custom Android theme

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

declare the above code in /platform/android/res/values/custom_theme.xml

Upvotes: 2

Related Questions