最新回答 / 伏地炸毛
版本太低了要2.2才可以用match_parent,你只能用fill_parentfill_parent ? ? -1 ? ? ?The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent.match_parent ? ?-1 ? ? ?The view should be as b...
最新回答 / lucifer_tikee
接口選錯了,要選CompoundButton的那個
最新回答 / 溜達溜達
tb.setChecked(isChecked);這段代碼沒起作用忽略即可