I am attempting to add multiple instances of the same fragment to an activity. Example code is
FragmentManager fm = getSupportFragmentManager(); Fragmen
The problem seemed to be is using the FrameLayout as the container for the fragments. I change this to
FrameLayout
<LinearLayout android:id="@+id/fragment_content" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" />
and it now works fine.