Changing Android Picker Font Color On Titanium Appcelerator
Solution 1:
You need to create custom theme
<resources><stylename="Theme.NoActionBar"parent="@style/Theme.AppCompat.Light"></style></resources>
Put this code in /platform/android/res/values/custom_theme.xml
Solution 2:
To fix the solution to this, you can add the following in your Theme.xml file under platform/android/values.
You can visit this link for my post on the appcelerator developer forum where I had raised this issue.
http://developer.appcelerator.com/question/182115/picker-font-color-on-android
Now you can apply the theme attribute to the window that you are planning on using your picker in, and applying the Light or LightDarkBar theme. This will turn the color your picker font to black.
You can format the code in the editor after pasting it. You can do that by pressing command shift F on mac, and for windows I am sure its control shift F, but not 100% on that.
Post a Comment for "Changing Android Picker Font Color On Titanium Appcelerator"