ProgressView

sealed class ProgressView(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : View

ProgressView

Since

0.2.0

Inheritors

Constructors

Link copied to clipboard
protected constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)

Properties

Link copied to clipboard

The current progress value.

Link copied to clipboard

Default value of mCurrentProgress.

Link copied to clipboard

Default value of mMaximumProgress.

Link copied to clipboard
protected val mDefaultTexSize: Float

Default value of mTextSize.

Link copied to clipboard
protected open val mDefaultText: String

Default text.

Link copied to clipboard

The maximum progress value.

Link copied to clipboard

The background color of the progress.

Link copied to clipboard

The progress color.

Link copied to clipboard
open var mText: String

The text that will be displayed with progress.

Link copied to clipboard
open var mTextColor: Int

The color of the text.

Link copied to clipboard
open var mTextSize: Float

Ths size of the mText.

Functions

Link copied to clipboard

Reset progress.

Link copied to clipboard
protected fun textOrDefault(): String