检测radiobutton是否被选中 可以用isChecked()函数 1、radiobutton被选中,isChecked()返回true,即1; 2、radiobutton未被选中,isChecked()返回false,即0.