Home > Tag Archives: android radiogroup

Tag Archives: android radiogroup

Android Widget – RadioButton & RadioGroup

android

In Android, you can use the “android.widget.RadioButton” class to render the radio button, and those radio buttons are usually grouped byandroid.widget.RadioGroup. If RadioButtons are in a group, when one RadioButton within a group is selected, all others are automatically deselected. Open “your.xml” file, just add “RadioGroup”, “RadioButton” and a button, inside the LinearLayout. Inside activity “onCreate()” method, attach a click ... Read More »