The checkbox is the on / off switch that can be transferred by the user.
You must use the check boxes currently have a list of items that can be selected, or when creating a lot of choice.
android: text: This is the text that will be displayed.
android: contentDescription: This defines the text that briefly describes the content of the display.
android: onClick: Handle onclick event in CheckBox.
Source: Master Android (App)