Enumerations

The following enumerations are available globally.

  • Shapes for Material Floating buttons.

    The mini size should only be used when required for visual continuity with other elements on the screen.

    See more

    Declaration

    Objective-C

    enum MDCFloatingButtonShape {}
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MDCFloatingButtonMode) {
      /**
       The floating button is a circle with its contents centered.
       */
      MDCFloatingButtonModeNormal = 0,
    
      /**
       The floating button is a "pill shape" with the image to one side of the title.
       */
      MDCFloatingButtonModeExpanded = 1,
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MDCFloatingButtonImageLocation) {
      /**
       The image of the floating button is on the leading side of the title.
       */
      MDCFloatingButtonImageLocationLeading = 0,
    
      /**
       The image of the floating button is on the trailing side of the title.
       */
      MDCFloatingButtonImageLocationTrailing = 1,
    }