how can i set RadioGroup unchecked by default in android?

android, radio-group

Solution

Just set the `checked` Property in your XML for every `RadioButton` to false:

android:checked="false"

That should solve the issue.

Problem

I am doing an app to conduct simple quiz.I have given the answers are multiple choice using `RadioGroup`. So on loading each question how can I set `RadioGroup` unchecked by default ?

Original source