Re: [android-developers] Java code for xml arrtibute

2012-01-23 Thread Mark Murphy
On Mon, Jan 23, 2012 at 10:13 AM, giles ian wrote: > Thanks for the reply. And there is such attribute and the use of that is to > remove the default radio button image. Ah, it's just not in the right spot in the documentation. My apologies. -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-developers] Java code for xml arrtibute

2012-01-23 Thread giles ian
Hi Mark, Thanks for the reply. And there is such attribute and the use of that is to remove the default radio button image. I also found the solution for the same newRadioButton.setButtonDrawable(android.R.id.empty); On Mon, Jan 23, 2012 at 7:56 PM, Mark Murphy wrote: > There is no android:b

Re: [android-developers] Java code for xml arrtibute

2012-01-23 Thread Mark Murphy
There is no android:button attribute on RadioButton. Simply delete it. On Mon, Jan 23, 2012 at 9:23 AM, giles ian wrote: > Hello, > > I have below code in xml. > >           android:layout_margin="5dip" >          android:layout_width="wrap_content" >          android:layout_height="wrap_content