Frank Sposaro MSFT Frank Sposaro MSFT - 6 months ago 73
Android Question

Remove RadioButton Icon Android

Is there a way to totally remove the Icon from a RadioButton?

I'm bolding the text instead of using the icon.

Setting android:button to either @null or @android:color/transparent
only hides the button and still messes up my test positioning.

I suppose that I could use a dummy view that's only 1dip big, but I wanted to check if there was less of a hack.


Try setting the background and button to @null.