安卓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) {
	}
});
相关推荐
茶栀(*´I`*)23 分钟前
Android 测试入门指南:ADB 基础配置与常用设备管理命令解析
android·adb
gxgldyh2 小时前
Android Framework源码解析(七):BootAnimation 启动流程解析——开机动画是如何显示出来的?
android
达达尼昂3 小时前
在 Claude Cowork 中用好 Claude Fable 5
android·人工智能·后端
sTone873754 小时前
写时复制COW的第一性理解
android·c++·flutter
sTone873754 小时前
Zygote的第一性理解
android
sTone873754 小时前
类RN框架通过Service暴露卡片渲染能力给AI Chat
android·react native
灯火不休4 小时前
Android Studio & Flutter 构建命令完全指南
android
杉氧4 小时前
Ktor 全栈之路 (5):JWT 认证全流程实战 —— 打造安全通信闭环
android·架构·kotlin
️学习的小王4 小时前
Python + MySQL 学生信息管理系统实战教程
android·python·mysql
帅次4 小时前
Android 高级工程师面试:Flutter 路由导航 近1年高频追问 18 题
android·flutter·面试