RadioGroup checkedButton property

前端 未结 4 1721
盖世英雄少女心
盖世英雄少女心 2021-02-13 11:49

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

4条回答
  •  感动是毒
    2021-02-13 12:21

    Use android:checkedButton="@+id/rdb_positive" ,i think you add + sign then its works

提交回复
热议问题