[android-developers] Switching views with RadioButton and saving views in Bundle

2010-03-07 Thread ThemePark
I have the following XML code: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent RadioGroup android:orientation=horizontal

Re: [android-developers] Switching views with RadioButton and saving views in Bundle

2010-03-07 Thread Mark Murphy
ThemePark wrote: The idea is to change the views, whenever I press one of the radio buttons. When I press a button the first time everything works out fine, but the second time I press a button, I get an IllegalStateException, and I can't quite see why I'm getting this. The full Java stack