<RadioGroup
android:id="@+id/Group1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<RadioButton
android:id="@+id/Button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="男"/>
<RadioButton
android:id ="@+id/Button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="女"/>
</RadioGroup>
Android里单选怎么使用
猜你喜欢
转载自blog.csdn.net/z2431435/article/details/120927021
今日推荐
周排行