如何判別c1(checkBox1)被勾選 語法:if((c1.isChecked())==true) 範例: CheckBox c1 = (CheckBox) findViewById(R.id.checkBox1); if((c1.isChecked())==true) { }