你的组名与第一个Button的ID相同了,换个名字试试
解决方案 »
- android全屏问题
- 图片动画变形
- 为什么view添加ontouchListener,在界面中却监听不到呢?
- 关于读取手机通讯录的问题
- 求助,HttpResponse response = http.execute(post);报错了,不会搞
- 我为程序写了一个异常处理类,有下面问题
- 安卓设定多个闹钟 怎么实现
- LinearLayout中android:divider如何自定义边框颜色
- 安装intelhaxm 时显示 无法访问 Windows Installer
- andorid studio3.1.2调用虚拟机调试时出现Virtual machine acceleration driver out-of-date
- 防做来电通的号码归属地提示
- android上要做一个电子说明书,格式问题上有没有什么好的方案啊,试过解析xml文件,用浏览器来读,可是都是乱码,各位有没有什么方案
android:id="@+id/myRadioButton"
android:layout_width="137px"
android:layout_height="216px"
android:orientation="vertical">
<!-- 第一个RadioButton -->
<RadioButton
android:id="@+id/myRadioButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tr_radio_op1" />
<!-- 第二个RadioButton-->
<RadioButton
android:id="@+id/myRadioButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tr_radio_op2" />
</RadioGroup>
<RadioGroup android:id="@+id/RadioButton01"->>>
<RadioGroup android:id="@+id/RadioGroup01"just like ls.
参考
RadioGroup组与onCheckedChanged事件
http://sraining.javaeye.com/blog/726666