SyntaxFix
Write A Post
Hire A Developer
Questions
here's how to do it in kotlin:
view.background.setTint(ContextCompat.getColor(context, textColor))