LinearProgressIndicatorSpec

constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)

Instantiates the spec for LinearProgressIndicator.

If attributes in R.styleable.LinearProgressIndicator are missing, the values in the default style Widget.MaterialComponents.LinearProgressIndicator will be loaded. If attributes in R.styleable.BaseProgressIndicator are missing, the values in the default style Widget.MaterialComponents.ProgressIndicator will be loaded.

Parameters

context

Current themed context.

attrs

Component's attributes set.


constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)