二排RadioGroup单选实现
2017-02-08 15:36
423 查看
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <RadioGroup android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-97dp" android:layout_marginTop="30dp" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="30dp" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="30dp" /> </RadioGroup> </LinearLayout>
相关文章推荐
- android RadioGroup实现单选以及默认选中
- Android自定义RadioGroup实现单选完整示例
- android RadioGroup实现单选以及默认选中
- 自定义RadioGroup实现单选完整示例
- android studio 如何实现RadioBotto和RadioGroup来实现单选按钮的选择
- 文字加下划线单选按钮效果,RadioGroup实现
- 自定义RadioGroup实现单选完整示例
- 使用RadioGroup与RadioButton实现单选效果
- Android 使用RadioGroup和RadioButton实现单选效果
- Android 自定义View实现多行RadioGroup单选(多选)
- RadioButton单选按钮实现RadioGroup.OnCheckedChangeListener
- 【RadioGroup】实现单选并获得所选项值
- Android 两个RadioGroup实现单选的效果
- 利用RadioGroup和RadioButton实现单选且选中的效果自定图片
- Android控件笔记——使用RadioGroup和RadioButton实现单选效果
- RadioGroup+RadioButton嵌套其他布局实现多行单选布局、自定义RadioButton选中和非选中样式、文字颜色
- 单选按钮RadioGroup、复选框CheckBox的OnCheckedChangeListener事件的实现方法
- RadioGroup实现单选并获得所选项值
- 使用RadioButton和RadioGroup实现多种多样的单选情况
- RadioGroup实现单选并获得所选项值