LoadingIndicatorStyle

data class LoadingIndicatorStyle(val enabled: Boolean = true, @ColorInt val color: Int = Color.LTGRAY, @ColorInt val trackColor: Int = Color.TRANSPARENT, val heightDp: Float = 1.0f) : Parcelable

Appearance of the loading indicator shown at the bottom of each page while the page is loading or progressively rendering, and at the bottom of the fragment while the document itself is loading.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, @ColorInt color: Int = Color.LTGRAY, @ColorInt trackColor: Int = Color.TRANSPARENT, heightDp: Float = 1.0f)

Properties

Link copied to clipboard
val color: Int

Color of the animated indicator bar. Defaults to light gray.

Link copied to clipboard

Whether to show the loading indicator. Defaults to true.

Link copied to clipboard

Height of the indicator in dp. Defaults to 1f.

Link copied to clipboard

Color of the track behind the indicator. Defaults to transparent.