how to give background colour to textview in android?
+1
A:
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);
Tawani
2009-12-01 16:05:46
thnxs for ur help.Its working
deepthi
2010-02-16 11:00:29