Checkboxes allow the user to select one or more options from a set. Typically, you should present each checkbox option in a vertical list.

checkbox example

checkbox example

Step 1: Open a new project name it as you like, Include Checkbox in XML or just drag and drop it.Or just use below XML code.

Step 2: Override onCheckboxClicked method and use switch cases to detect check and unchecked states.