拿RadioButton举例
<RadioButton
android:id=”@+id/newregister_rb_nan”
android:layout_width=”wrap_content”
android:layout_height=”match_parent”
android:checked=”true”
android:background=”@null”
//代表把原来自有的边框去掉
android:button=”@drawable/zhuce_anniu” //代表换成自己要用的图片按钮
android:layout_marginRight=”4dp” />
版权声明:本文为as425017946原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。