Object

ArcProgressIndicatorDefaults

Contains default values for ArcProgressIndicator.

Source set: Android
public object ArcProgressIndicatorDefaults

Contains default values for ArcProgressIndicator.

Properties

IndeterminateStartAngle

Source set: Android
public val IndeterminateStartAngle: Float

The default start angle in degrees for an indeterminate arc progress indicator

IndeterminateEndAngle

Source set: Android
public val IndeterminateEndAngle: Float

The default end angle in degrees for an indeterminate arc progress indicator

IndeterminateStrokeWidth

Source set: Android
public val IndeterminateStrokeWidth: Dp

Stroke width of the indeterminate arc progress indicator.

recommendedIndeterminateDiameter

Source set: Android
public val recommendedIndeterminateDiameter: Dp

The recommended diameter of the indeterminate arc progress indicator, which leaves room for additional content such as a message above the indicator.

Functions

calculateRecommendedGapSize

public fun calculateRecommendedGapSize(strokeWidth: Dp): Dp

Returns recommended size of the gap based on strokeWidth.

The absolute value can be customized with gapSize parameter on CircularProgressIndicator.

Last updated: