android如何动态修改控件颜色 yying 2023-04-26 88 阅读1分钟 一般都有setXXXColor函数,其参数为int类型,但此处的值不是0x000000,而是需要用Color.parseColor("#000000")进行类型转换。