安卓Spinner文字看不清

Holo主题安卓13的Spinner文字看不清,明明已经解决了,又忘记了。

java 复制代码
spinner.setOnItemSelectedListener(new Spinner.OnItemSelectedListener() {
    public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
        TextView textView = (TextView)arg1;
        textView.setTextColor(Color.BLACK);
    }
    public void onNothingSelected(AdapterView<?> arg0) {
	}
});
相关推荐
Lei活在当下6 小时前
【Perfetto从入门到精通】2. 使用 Perfetto 追踪/分析 APP 的 Native/Java 内存
android·性能优化·架构
愤怒的代码6 小时前
🔗 深度解析 SystemUI 进程间通信机制(一)
android·操作系统·app
RainyJiang7 小时前
聊聊协程里的 Semaphore:别让协程挤爆门口
android·kotlin
Dev7z9 小时前
在MySQL里创建数据库
android·数据库·mysql
invicinble9 小时前
mysql建立存数据的表(一)
android·数据库·mysql
似霰10 小时前
传统 Hal 开发笔记1----传统 HAL简介
android·hal
Zender Han11 小时前
Flutter Gradients 全面指南:原理、类型与实战使用
android·flutter·ios
火柴就是我11 小时前
Flutter Path.computeMetrics() 的使用注意点
android·flutter
モンキー・D・小菜鸡儿12 小时前
Android 系统TTS(文字转语音)解析
android·tts
2501_9159090612 小时前
iOS 反编译防护工具全景解析 从底层符号到资源层的多维安全体系
android·安全·ios·小程序·uni-app·iphone·webview