Suppose a FragmentActivity is supposed to have two different Fragments (side by side where the right one is twice the width of the left one), which will be added dynamically.
How do we tell the system which Fragment goes into which FrameLayout?
If it was a single Fragment in the Activity, I would simply override onCreateView() which would receive the container FrameLayout as a parameter, and I would return the inflated layout of the Fragment.
But now that I have two FrameLayouts and two Fragments to add in them, how would I tell the system which FrameLayout in the Activity I want to add my Fragment into?