LinearProgressIndicatorSpec

This class contains the parameters for drawing a linear type progress indicator. The parameters reflect the attributes defined in R.styleable.BaseProgressIndicator and R.styleable.LinearProgressIndicator.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
Instantiates the spec for LinearProgressIndicator.
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)

Properties

Link copied to clipboard
Link copied to clipboard
The type of animation of indeterminate mode.
Link copied to clipboard
The direction in which the indicator will swipe or grow to.
Link copied to clipboard
Link copied to clipboard
The padding of the stop indicator at the end of the track.
Link copied to clipboard
The desired size of the stop indicator at the end of the track.

Functions

Link copied to clipboard
Link copied to clipboard
open fun useStrokeCap(): Boolean
Returns true if the stroke ROUND cap should be used to prevent artifacts like (b/319309456), when fully rounded corners are specified.