SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
root.setBackgroundColor(0xFFFFFFFF);
or
root.setBackgroundColor(Color.parseColor("#ffffff"));