Frank Sposaro MSFT Frank Sposaro MSFT - 1 year ago 172
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.

Answer Source

Try setting the background and button to @null.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download