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 = 65f

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

IndeterminateEndAngle

Source set: Android
public val IndeterminateEndAngle: Float = 115f

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

IndeterminateStrokeWidth

Source set: Android
public val IndeterminateStrokeWidth: Dp = 6.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

Source set: Android
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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: