There is no android:button attribute on RadioButton. Simply delete it.

On Mon, Jan 23, 2012 at 9:23 AM, giles ian <[email protected]> wrote:
> Hello,
>
> I have below code in xml.
>
> <RadioButton
>           android:layout_margin="5dip"
>          android:layout_width="wrap_content"
>          android:layout_height="wrap_content"
>          android:background="@drawable/button_radio"
>          android:gravity="center"
>          android:button="@null"/>
>
> I need java code for highlighted text as I'm creating radio buttons
> programmatically.
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to