+ // Store the tab number in the bundle.
+ bundle.putInt("Tab", tab);
+
+ // Add the bundle to the fragment.
+ AboutTabFragment aboutTabFragment = new AboutTabFragment();
+ aboutTabFragment.setArguments(bundle);
+
+ // Return the new fragment.
+ return aboutTabFragment;