Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i set RadioGroup unchecked by default in android?

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 ?

like image 738
Mohammed mansoor Avatar asked Mar 21 '13 12:03

Mohammed mansoor


1 Answers

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

android:checked="false"

That should solve the issue.

like image 145
Obl Tobl Avatar answered Sep 23 '22 19:09

Obl Tobl