MDCTabBarAlignment

enum MDCTabBarAlignment {}

Alignment styles for items in a tab bar.

  • Items are aligned on the leading edge and sized to fit their content.

    Declaration

    Objective-C

    MDCTabBarAlignmentLeading
  • Items are justified to equal size across the width of the screen. Overscrolling is disabled for this alignment.

    Declaration

    Objective-C

    MDCTabBarAlignmentJustified
  • Items are sized to fit their content and center-aligned as a group. If they do not fit in view, they will be leading-aligned instead.

    Declaration

    Objective-C

    MDCTabBarAlignmentCenter
  • Tabs are center-aligned on the selected item.

    Declaration

    Objective-C

    MDCTabBarAlignmentCenterSelected