是否可以通过编程方式更改TableLayout中整个列的背景颜色?
看这个:http://imgur.com/FgjaeOJ
最佳答案
尝试这样。
TableRow tableRow = (TableRow) findViewById(rowID);
tableRow .setBackgroundColor(Color.BLACK);
是否可以通过编程方式更改TableLayout中整个列的背景颜色?
看这个:http://imgur.com/FgjaeOJ
最佳答案
尝试这样。
TableRow tableRow = (TableRow) findViewById(rowID);
tableRow .setBackgroundColor(Color.BLACK);