Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 376
Frank Sposaro Avatar asked Jun 06 '12 19:06

Frank Sposaro


1 Answers

Try setting the background and button to @null.

like image 159
Damian Avatar answered Oct 01 '22 23:10

Damian