Search code examples
androidtitaniumthemesappceleratorpicker

changing Android picker font color on titanium appcelerator


I am using a picker on my application of type time picker. The picker works fine on iOS devices, however when I go to the android application, it appears, but the font color is white, and cant see the numbers.
I do not want to change the background to a darker color because it doesnt match the rest of the application and wont be matching the ios app. I was wondering if there is a way to change just the font to black or gray color. I have already tried some of the solutions posted, and changing the themes, but it has not worked out for me.


Solution

  • You need to create custom theme

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

    Put this code in /platform/android/res/values/custom_theme.xml