android動(dòng)態(tài)設(shè)置控件寬高 android設(shè)置linearlayout布局的背景顏色,怎么動(dòng)態(tài)改變背景顏色?
android設(shè)置linearlayout布局的背景顏色,怎么動(dòng)態(tài)改變背景顏色?根據(jù)點(diǎn)擊判斷,進(jìn)行不同設(shè)置:線性布局.背景(getResources().getColor(R。顏色.bg1))
android設(shè)置linearlayout布局的背景顏色,怎么動(dòng)態(tài)改變背景顏色?
根據(jù)點(diǎn)擊判斷,進(jìn)行不同設(shè)置:線性布局.背景(getResources().getColor(R。顏色.bg1))