Tabs are a popular user interface pattern in mobile applications because of their simplicity and usability. They provide a consistent, easy way to navigate between various screens in an application. Android has several API's for tabbed interfaces:
ActionBar – This is part of a new set of API's that was introduced in Android 3.0 (API level 11) with goal of providing a consistent navigation and view-switching interface. It has been back ported to Android 2.2 (API level 8) with the Android Support Library v7.
Toolbaris a newer and more flexible action bar component that replaces
Toolbaris available in Android 5.0 Lollipop or later, and it is also available for older versions of Android via the Android Support Library v7 NuGet package.
Toolbaris currently the recommended action bar component to use in Android apps. For more information, see Toolbar.