Android RadioGroup checks more than one RadioButton?

前端 未结 3 1354
生来不讨喜
生来不讨喜 2021-01-25 20:44

I am using RadioGroup, added RadioButton rdbut to RadioGroup rdgrp like rdgrp.addView(rdbut).

   for(int j=0         


        
3条回答
  •  死守一世寂寞
    2021-01-25 20:51

    You have created three different Radio Group. You can select only one radio button from a single group.So from three groups you can select three buttons But there is no inter-group relationship. You can select radio buttons from different group simultaneously. In your case you can select three buttons at max.

    Thanks Sunil

提交回复
热议问题