SyntaxFix
Write A Post
Hire A Developer
Questions
To set red color:
textView.setBackgroundColor(0xfff00000);
Or
<color name="solid_red">#fff00000</color> textView.setBackgroundResource(R.color.solid_red);