I try to set the background color of a TableRow. Currently I have this in my XML file:
android:background="@color/buttonBackground"
and i work great. But when it run
row.setBackgroundColor(R.color.red);
the row disappears. Can someone explain why that is?