-
- <RadioGroup
- android:id="@+id/group"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <RadioButton
- android:id="@+id/button1"
- android:layout_width="fill_parent"
- android:layout_height="50dip"
- android:button="@null"
- android:drawableRight="@android:drawable/btn_radio"
- android:paddingLeft="30dip"
- android:text="Android新手"
- android:textSize="20dip" />
- </RadioGroup>
Android设置RadioButton在文字的右边