LayoutDefaults
class LayoutDefaults
Contains the default values used by layout templates for Tiles.
Summary
Constants |
|
|---|---|
const DimensionBuilders.DpProp |
The recommended space between the main content and additional labels in layouts. |
const Float |
The recommended padding that should be above the main content (text) in the |
const Float |
The recommended padding that should be below the main content (text) in the |
const Int |
The maximum number of button that can be added to the |
const DimensionBuilders.DpProp |
The default spacer width for slots in a |
Constants
const val DEFAULT_VERTICAL_SPACER_HEIGHT: DimensionBuilders.DpProp
The recommended space between the main content and additional labels in layouts.
const val EDGE_CONTENT_LAYOUT_PADDING_ABOVE_MAIN_CONTENT_DP = 6.0f: Float
The recommended padding that should be above the main content (text) in the EdgeContentLayout.
const val EDGE_CONTENT_LAYOUT_PADDING_BELOW_MAIN_CONTENT_DP = 8.0f: Float
The recommended padding that should be below the main content (text) in the EdgeContentLayout.
const val MULTI_BUTTON_MAX_NUMBER = 7: Int
The maximum number of button that can be added to the MultiButtonLayout.
const val MULTI_SLOT_LAYOUT_HORIZONTAL_SPACER_WIDTH: DimensionBuilders.DpProp
The default spacer width for slots in a MultiSlotLayout.