How to give background colour to textview in An开发者_如何学Pythondroid?
textView.setBackgroundResource(resourceId) //from resource
textView.setBackgroundColor(int color) // e.g. Color.RED
for custom colors
int color = Color.rgb(int red, int green, int blue);
精彩评论