DividerAttributes


public abstract class DividerAttributes


The attributes of the divider layout and behavior.

Summary

Nested types

public abstract class DividerAttributes.DragRange

Describes the range that the user is allowed to drag the draggable divider.

A drag range represented as an interval of the primary container's split ratios.

The attributes of a draggable divider.

The DraggableDividerAttributes builder.

The attributes of a fixed divider.

The FixedDividerAttributes builder.

Constants

static final int

A special value to indicate that the system will choose a default value based on the display size and form factor.

Public fields

static final @NonNull DividerAttributes

Indicates that no divider is requested.

Public methods

final int

the color of the divider.

final int

the width of the divider.

@NonNull String

Constants

WIDTH_SYSTEM_DEFAULT

public static final int WIDTH_SYSTEM_DEFAULT

A special value to indicate that the system will choose a default value based on the display size and form factor.

See also
widthDp

Public fields

NO_DIVIDER

public static final @NonNull DividerAttributes NO_DIVIDER

Indicates that no divider is requested.

Public methods

getColor

Added in 1.4.0-alpha05
public final int getColor()

the color of the divider.

getWidthDp

Added in 1.4.0-alpha05
public final int getWidthDp()

the width of the divider.

toString

public @NonNull String toString()