android 控件使用集锦
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
layout.xml
<RadioGroup android:id="@+id/sex" style="@style/textInfo" android>
<RadioButton android:text="男:" android:id="@+id/radionBtn_man" ></RadioButton>
<RadioButton android:text="女:" android:id="@+id/radionBtn_woman" ></RadioButton>
</RadioGroup>
RadioButton rb = (RadioButton) findViewById(sexRadioGroup.getCheckedRadioButtonId());
mUser.setSex(((RadioButton) findViewById(sexRadioGroup.getCheckedRadioButtonId())).getText().toString());
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |