Can change text color on the picker in Android?

You must Login before you can answer or comment on any questions.

HI, everyone,

I have watch the Kitchen Sink example. It's picker_android_spinner_text2.js .

There are setting font size/ weight/family + color .( nameColumn1.color = "red";)

But I compile on Simulator, I have not see the text color changed in this output.

Is this example correct?

thank you very much.

1 Answer

Accepted Answer

The picker/spinner for Android is as I understand it a 3rd party 'widget' and can't be altered from it's default appearance. Which is a pity as it's a pale imitation of the iOS native one. Although that being said, with iOS you still have to add labels with colored text to get what you want. But with the Android picker you can't even add labels. The reference to color in the Android Kitchen Sink code is misleading.

Your Answer

Think you can help? Login to answer this question!