码上敲享录 > android开发实例 > android的单选框

android的单选框

上一章章节目录下一章 2018-04-05已有2170人阅读 评论(0)

android的单选框怎么弄?

解决方法:

<RadioGroup

       android:id="@+id/radioGroup1"

       android:layout_width="wrap_content"

       android:layout_height="wrap_content">

       <RadioButton

           android:id="@+id/radio0"

           android:layout_width="wrap_content"

           android:layout_height="wrap_content"

           android:checked="true"

           android:text="RadioButton" />

       <RadioButton

           android:id="@+id/radio1"

           android:layout_width="wrap_content"

           android:layout_height="wrap_content"

           android:text="RadioButton" />

   </RadioGroup>

本文地址:http://www.yayihouse.com/yayishuwu/chapter/1140

向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
2

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交