Layout-activity_radiogroup.xml控件
2017-02-16 12:40
190 查看
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_radio_group" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.jump.RadioGroupActivity"> <RadioGroup android:id="@+id/rg_group" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true"> <RadioButton android:id="@+id/re_man" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="男"/> <RadioButton android:id="@+id/rg_woman" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="女"/> </RadioGroup> <Butto 4000 n android:id="@+id/rg_testbtn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="点击测试" android:textSize="20sp"/> </RelativeLayout>
相关文章推荐
- 【iOS界面开发】iOS UIControl事件说明
- Struts2接受请求参数2(集合类数据)
- Java开发者常犯的10个错误
- 58到家数据库30条军规解读(58沈剑)
- POJ1222熄灯问题
- xftp permission is not allowed
- 样条曲线反求控制点
- 北京大学与中国人民大学的区别
- 安全 | 几种wifi密码破解的思路
- Shell特殊变量
- 253 Meeting Rooms II
- 从零开始学习C++(构造器和析构器)
- 完美立方
- PopoverListViewController使用细节
- TypeScript和JavaScript哪种语言更先进
- Shell特殊变量
- 为OpenStack量身打造 OVS推出全新OVN项目
- E-R图原理及实践
- 解决问题The content of the adapter has changed but ListView did not receive a notification.
- HDU3360-二分图最小点覆盖