How to set color for imageview in Android

前端 未结 7 1624
囚心锁ツ
囚心锁ツ 2021-01-30 19:47

I want set icon into ImageView and i downloaded icons from this site : FlatIcon
Now i want set color to this icons but when use setBackground just

相关标签:
7条回答
  • 2021-01-30 20:36

    Use imageView.setColorFilter(getResources().getColor(R.color.color_white));

    0 讨论(0)
提交回复
热议问题