SyntaxFix
Write A Post
Hire A Developer
Questions
You can add FrameLayout to the fragment and replace it with another fragment when it initializes.
FrameLayout
This way , you could consider the other fragment to be inside the first fragment.