I create an activity container where I added an fragment using :
FragmentTransaction ft = getFragmentManager().beginTransaction(); ft.replace(R.id.simple_fragment, myFragment); ft.commit();
where simple_fragment is container layout (Linear/Frame), now I want to add another fragment in myFragment from myFragment itself.
UPDATE :
Pleas refer attached image, in this case I have activity layout with three top button, in click of every button i replace downside layout with other fragment layout say Fragment 1/2 or 3 ....now from fragment 1 i want to call other fragment 1A and from 1A to 1B. Here I want to maintain stack as well for inner fragment view.
How can I do this, any one have idea/suggestion about it?