ArcProgressIndicatorDefaults

object ArcProgressIndicatorDefaults


Contains default values for ArcProgressIndicator.

Summary

Public functions

Dp

Returns recommended size of the gap based on strokeWidth.

Public properties

Float

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

Float

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

Dp

Stroke width of the indeterminate arc progress indicator.

Dp

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

Public functions

calculateRecommendedGapSize

Added in 1.6.0
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.

Public properties

IndeterminateEndAngle

Added in 1.5.0
val IndeterminateEndAngle: Float

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

IndeterminateStartAngle

Added in 1.5.0
val IndeterminateStartAngle: Float

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

IndeterminateStrokeWidth

val IndeterminateStrokeWidth: Dp

Stroke width of the indeterminate arc progress indicator.

recommendedIndeterminateDiameter

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.