I am trying to build RadioGroup in Android with one RadioButton checked by default. I\'m wondering if this is possible to do through XML, rather than programmatically.
T
You can get rid of that error by declaring id rdb_positive inside ids.xml and then referencing the id from both RadioGroup and RadioButton elements.
RadioGroup
RadioButton
ids.xml: