单选按钮
来源:互联网 发布:网络巫师泰剧中字4 编辑:程序博客网 时间:2024/04/30 07:37
<RadioGroup
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:checkedButton="@+id/b1"
android:id="@+id/RG">
<!--默认选中b1-->
<RadioButton
android:text="1"
android:id="@+id/b1"
/>
<RadioButton
android:text="2"
android:id="@+id/b2"
/>
<RadioButton
android:text="3"
android:id="@+id/b3"
/>
</RadioGroup>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/show"
android:text="RadioGroup测试"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/clear"
android:text="清除"
/>
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:checkedButton="@+id/b1"
android:id="@+id/RG">
<!--默认选中b1-->
<RadioButton
android:text="1"
android:id="@+id/b1"
/>
<RadioButton
android:text="2"
android:id="@+id/b2"
/>
<RadioButton
android:text="3"
android:id="@+id/b3"
/>
</RadioGroup>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/show"
android:text="RadioGroup测试"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/clear"
android:text="清除"
/>
- 单选按钮&复选按钮
- 单选按钮检测
- struts2单选按钮
- 单选按钮事件
- MFC单选按钮
- RadioButton单选按钮
- swing 单选按钮
- 单选按钮--转载
- 美化单选按钮
- 单选按钮
- 单选按钮分组
- 单选按钮
- 表单“单选按钮”
- 单选按钮对齐
- 单选按钮
- SWT:单选按钮
- 单选按钮
- 单选按钮赋值
- listview实现下拉刷新
- 关于 hibernate 逻辑删除 默认查询过滤条件问题(java set 条件)
- VI常用命令整理--转载
- 目标管理SMART原则
- 快速查看/修改Windows Server 2008远程桌面连接端口
- 单选按钮
- 关注养生 必做7个小动作
- 网络十大流行健康生活方式
- 性能测试结果分析
- 电脑族健康菜单
- 电脑族必喝的六种饮料
- java多线程notify和wait 转载
- 抗衰老食物
- 关于 多进程epoll 与 “惊群”问题