![](https://luckytruedev.com/learning/wp-content/uploads/2018/12/CheckBoxSetOnClickListener2.png)
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.
![](https://luckytruedev.com/learning/wp-content/uploads/2018/12/Picture1-8.png)
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)