Android How To Disable A CheckBox

If you want your CheckBox to be unselectable then you have to do this:

checkBox.setEnabled(false);

And that’s all. Your checkbox will not be selectable 🙂

keyboard_arrow_up
sponsored
Exit mobile version