Yes... this is kind of what I did. But... that breaks the RadioGroup, as the RadioButtons are not direct children anymore - it has a LinearLayout instead, so can't do anything with the radio buttons.
So, I had to create my own class which extended RadioGroup, and implement my own handling of the radio buttons (switching the others off when one is checked, returning the checked button, etc). Got there in the end :-) On Sep 17, 11:12 am, Kumar Bibek <coomar....@gmail.com> wrote: > Then, probably, you can Have a WebView, not on the side. This WebView > would be your base layout. The Dump any html code into this WebView, > and let the WebView have a RadioGroup as it's child. > > -Kumar Bibekhttp://techdroid.kbeanie.com > > On Sep 17, 3:02 pm, YuviDroid <yuvidr...@gmail.com> wrote: > > > Then try out what Mark suggested: set an empty text on the RadioButton, and > > on its side put a WebView. > > I haven't tried this myself, but it should be something like this: > > > <LinearLayout orientation="horizontal" ...> > > <RadioButton > > .... > > android:text="" > > ... > > /> > > > <WebView > > ... > > /> > > </LinearLayout> > > > On Fri, Sep 17, 2010 at 11:26 AM, Neilz <neilhorn...@gmail.com> wrote: > > > Unfortunately I'm using a lot of tags that, as far as I know, this > > > won't support. The reason I'm using WebView is that I need javascript > > > calls, links with OnClick() etc. I don't think that's supported by > > > that method? > > > > On Sep 17, 9:39 am, Kumar Bibek <coomar....@gmail.com> wrote: > > > > If you have a text that is HTML, you can set the text to a RadioButton > > > > like this. > > > > > RadioButton.setText(Html.from(htmlString)); > > > > > Try this out, this should work. > > > > > -Kumar Bibekhttp://techdroid.kbeanie.com > > > > -- > > > 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<android-developers%2bunsubscr...@googlegroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > YuviDroid > > Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to > > quickly access your favorite apps and > > contacts!)http://android.yuvalsharon.net > > -- 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