RadionButton

RadionButton(单项按钮)
       RadioGroup(单选按钮组)
            android:orientation="horizontal"  //设置布局方式
            android:checkedButton="单选按钮id"//设置默认选中的单选按钮

注意:单选按钮RadioButton,一般需要嵌套在RadioGroup中达到单选的目的
     方法:getCheckedRadioButtonId();//获得选中的按钮的id

posted @ 2017-05-18 11:37  华丶仔  阅读(228)  评论(0编辑  收藏  举报