Current, I have 2 Fragments, which is switch-able through ActionBar\'s tab.
Fragments
ActionBar
getSupportActionBar().setNavigationMode(ActionBar.NAVIG
View mMyView = null; public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle state) { if (state == null) { mMyView = new MyView(getActivity()); } else { container.removeView(mMyView); } return mMyView; }