SESL_MODE_WEIGHT_AUTO

Auto-sizing tabs behave like MODE_FIXED with GRAVITY_FILL while the tabs fit within the TabLayout's content width. Fixed tabs have equal width, based on the widest tab label. Once the tabs outgrow the view's width, auto-sizing tabs behave like MODE_SCROLLABLE, allowing for a dynamic number of tabs without requiring additional layout logic.

See also