public final class

LayoutDefaults.MultiButtonLayoutDefaults

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.material.layouts.LayoutDefaults.MultiButtonLayoutDefaults

Overview

Contains default values used for MultiButtonLayout.

Summary

Fields
public static final DimensionBuilders.DpPropBUTTON_SIZE_FOR_1_BUTTON

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

public static final DimensionBuilders.DpPropBUTTON_SIZE_FOR_2_BUTTONS

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

public static final DimensionBuilders.DpPropBUTTON_SIZE_FOR_3_PLUS_BUTTONS

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

public static final intMAX_BUTTONS

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

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int MAX_BUTTONS

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

public static final DimensionBuilders.DpProp BUTTON_SIZE_FOR_3_PLUS_BUTTONS

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

public static final DimensionBuilders.DpProp BUTTON_SIZE_FOR_2_BUTTONS

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

public static final DimensionBuilders.DpProp BUTTON_SIZE_FOR_1_BUTTON

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