Using Tab navigation in your apps
Tab buttons are displayed in the Action Bar. You can also use images instead of buttons or even your own custom views.
Tabs are designed to work with fragments. Use them to swop fragments in your activities.
We’ll show you how to use Tabs to swop fragments in your activity.