I implemented a ActionBarSherlock with a ViewPager and a TabsAdapter. It works well but now I tried to \"push\" from a Framework Loaded in \"Tab 1\" another Fragment.
<
I gotcha!
Let me explain, you need to put an id on your Layout that you want to replace, my example:
So I just put mine: android:id="@+id/Framelay" Then I can use this Id to replace for the new fragment, what I mean is that all the content inside this Layout will be replaced by the new Fragment, as I called DetailFragment.
FragmentManager fragmentManager = getFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager
.beginTransaction();
DetailFragment fragment3 = new DetailFragment();
fragmentTransaction.replace(R.id.Framelay, fragment3);
fragmentTransaction.commit();