library / com.nambimobile.widgets.efab / ExpandableFab / <init>

<init>

ExpandableFab(context: Context, orientation: Orientation? = Orientation.PORTRAIT)

Used to create an ExpandableFab programmatically (do not use the other constructor ExpandableFab(context, attributeSet) - it is for use by the Android framework when inflating an ExpandableFab via XML). This constructor keeps all optional properties of an ExpandableFab and its optional label at their default values, though you can always change these values after instantiation by using the appropriate setter methods (with the exception of orientation, which cannot be changed after instantiation).

See documentation for an exhaustive list of all optional properties and their default values.

Please review the Notes documented at the top of the class for guidelines and limitations when using ExpandableFab.

ExpandableFab(context: Context, attributeSet: AttributeSet)

Called by the system when creating an ExpandableFab via XML (don't call this directly). To create an ExpandableFab programmatically, use the ExpandableFab(context, orientation) constructor.