I'd do it programmatically. As the other comment says, you'll need to create an onClickListener
, this way:
CheckBox your_checkbox = (CheckBox) findViewById(R.id.your_checkbox_id);
your_checkbox.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View view) {
if (view.isChecked())
your_checkbox.setText("Hey I'm checked!");
else
your_checkbox.setText("I'm not checked!");
}
});