http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/RadioGroup1.html On Wed, Feb 11, 2009 at 10:57 AM, automerc <bigautosur...@gmail.com> wrote: > > while I was reading tutorials about android programming I saw that all > UI objects such as radio buttons and layouts were declared in the > main.xml file and just refer to using their ids in the java source > code. I was wondering if this always has to been the case? I am trying > to write a application that uses radio button heavily, but the amount > of radio buttons needed is determined by the user. (Like the amount of > possible answers to a question). > > So I was wondering if its possible to actually create radio buttons > and add them to user interface from the java source code instead? If > so, are there any tutorials showing how to do this? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---