NativeScript / NativeScript/plugins
[@nativescript/datetimepicker] Android spinner text color not working
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 Android 10 或更高版本上重现 datetimepicker spinner 文本颜色问题,然后检查插件的 Android 实现,并将其对文本颜色的处理与正常工作的背景颜色路径进行比较。阅读链接的 Xamarin 讨论,了解 API 29 的相关背景。在受影响的 Android 版本上自定义 spinner 文本颜色能够正常工作,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100