CheckBox
左侧的选择框的样式也是用drawable,(android:button="@...."),距离用paddingLeft
//这是多选 监听其中一个
check1= this.<CheckBox>findViewById(R.id.check1);
check1.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
Toast.makeText(CheckBoxActivity.this,b?"ios":"H5",Toast.LENGTH_SHORT).show();
}
});