Is That possible select multiple radio button at one times? Just like checkbok.I have to show more in figure.
In android, Radio Group is used to group one or more radio buttons into separate groups based on our requirements. If we group Radio Buttons using RadioGroup, at a time only one item can be selected from the group of radio buttons.
No, the radio button control allows for only 1 selection. Instead, you can use the checkboxes control which does allow for multiple selections.
Only one radio button in a group can be selected at the same time. Note: The radio group must have share the same name (the value of the name attribute) to be treated as a group.
As per my understanding you want to group the radio buttons such that one is selected at a time you can do it by adding name attribute in each radio button and give same name to all of them. So at time of submit you can get the value of selected variable in submit function call.
If you don't put them all in a RadioGroup
then yes. Either put them in several groups or manage them yourself completely.
But it's confusing for the user if you use radio buttons that behave like checkboxes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With