方法一
在UML布局中使用android:button=“@null”属性,如:
<RadioButton android:layout_width="9dp" android:layout_height="9dp" android:layout_centerHorizontal="true" android:button="@null" />
方法二
在代码中使用透明色背景
radiobutton.setButtonDrawable(getResources().getDrawable(R.color.transparent))