CheckBox cb = (CheckBox) findViewById(R.id.cb); cb.setChecked(true);//选中 cb.setChecked(false);//取消选中 cb.isChecked();//判断是否被选中