set Tab Mode
Set the behavior mode for the Tabs in this layout. The valid input options are:
- MODE_FIXED: Fixed tabs display all tabs concurrently and are best used with content that benefits from quick pivots between tabs.
- MODE_SCROLLABLE: Scrollable tabs display a subset of tabs at any given moment, and can contain longer tab labels and a larger number of tabs. They are best used for browsing contexts in touch interfaces when users don't need to directly compare the tab labels. This mode is commonly used with a androidx.viewpager.widget.ViewPager.
Parameters
mode
one of MODE_FIXED or MODE_SCROLLABLE.