搜尋此網誌

2012年11月14日 星期三

android在程式中設定背景顏色(background color)

要使用setBackgroundResource(R.color.white); 不可使用setBackgroundColor