SyntaxFix
Write A Post
Hire A Developer
Questions
TextView tt; int color = Integer.parseInt("bdbdbd", 16)+0xFF000000; tt.setTextColor(color);
also
tt.setBackgroundColor(Integer.parseInt("d4d446", 16)+0xFF000000);
tt.setBackgroundColor(Color.parseColor("#d4d446"));
see:
Java/Android String to Color conversion