Android CheckBox Example : Getting started with Android

Android checkbox is used to select more than one option at a time.

Ex: – In an admission form we may need to select both diploma & BE in Graduate option. For this we can use checkbox which will enable us to select multiple options.

CheckBox Example: –

Your XML code should look like

Your Java code should look like

The output will look like

 

No Comments

Latest Tweets

Facebook

Get the Facebook Likebox Slider Pro for WordPress