<CheckBox
android:id="@+id/cbPayTypeDefault"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:button="@null"
android:drawableLeft="@drawable/unionpay_plug_checkbox"
android:text="设置为默认支付方式" />
button值为@null去掉默认样式图片。
转载于:https://my.oschina.net/u/150685/blog/281526