LayoutDefaults.MultiButtonLayoutDefaults


public final class LayoutDefaults.MultiButtonLayoutDefaults


Contains default values used for MultiButtonLayout.

Summary

Constants

static final @NonNull DimensionBuilders.DpProp

The default size of button in case when there is 1 button in the .

static final @NonNull DimensionBuilders.DpProp

The default size of button in case when there are 2 buttons in the .

static final @NonNull DimensionBuilders.DpProp

The default size of button in case when there are 3 or more buttons in the .

static final int

The maximum number of button that can be added to the MultiButtonLayout.

Constants

BUTTON_SIZE_FOR_1_BUTTON

Added in 1.0.0
public static final @NonNull DimensionBuilders.DpProp BUTTON_SIZE_FOR_1_BUTTON

The default size of button in case when there is 1 button in the .

BUTTON_SIZE_FOR_2_BUTTONS

Added in 1.0.0
public static final @NonNull DimensionBuilders.DpProp BUTTON_SIZE_FOR_2_BUTTONS

The default size of button in case when there are 2 buttons in the .

BUTTON_SIZE_FOR_3_PLUS_BUTTONS

Added in 1.0.0
public static final @NonNull DimensionBuilders.DpProp BUTTON_SIZE_FOR_3_PLUS_BUTTONS

The default size of button in case when there are 3 or more buttons in the .

MAX_BUTTONS

Added in 1.0.0
public static final int MAX_BUTTONS = 7

The maximum number of button that can be added to the MultiButtonLayout.