NativeScript / NativeScript/plugins

[@nativescript/datetimepicker] Android spinner text color not working

Open
#56 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Setting custom spinner text color isn't working on Android 10+. Background color can be set normally.

This issue is probably caused as discussed here:
https://forums.xamarin.com/discussion/183258/no-field-mselectorwheelpaint-in-class-landroid-widget-numberpicker-in-api-29-android-10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the datetimepicker spinner text-color issue on Android 10 or newer, then inspect the plugin's Android implementation and compare its text-color handling with the working background-color path. Read the linked Xamarin discussion for the API 29 context. Done means a custom spinner text color works on affected Android versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.