//应该用getColorStateList这种方式 xml中设置时直接color引用就可以了
textView.setTextColor(getResources().getColorStateList(R.color.home_mine_ques_title))

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-09-27
  • 2021-11-25
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案