android-components / mozilla.components.ui.progress / AnimatedProgressBar

# AnimatedProgressBar

`open class AnimatedProgressBar : ProgressBar` (source)

An animated progress bar following the Photon Design System.

### Constructors

<init> | `AnimatedProgressBar(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)` An animated progress bar following the Photon Design System.

### Functions

onDraw | `open fun onDraw(canvas: Canvas): Unit`
setProgress | `open fun setProgress(progress: Int): Unit` Sets the current progress to the specified value.
setVisibility | `open fun setVisibility(value: Int): Unit` Set the visibility state of this view.

### Extension Properties

isLTR | `val View.isLTR: Boolean` Is the horizontal layout direction of this view from Left to Right?
isRTL | `val View.isRTL: Boolean` Is the horizontal layout direction of this view from Right to Left?

### Extension Functions

hideKeyboard | `fun View.hideKeyboard(): Unit` Hides the soft input window.
isGone | `fun View.isGone(): Boolean` Returns true if this view's visibility is set to View.GONE.
isInvisible | `fun View.isInvisible(): Boolean` Returns true if this view's visibility is set to View.INVISIBLE.
isVisible | `fun View.isVisible(): Boolean` Returns true if this view's visibility is set to View.VISIBLE.
setPadding | `fun View.setPadding(padding: Padding): Unit` Set a padding using Padding object.
showKeyboard | `fun View.showKeyboard(flags: Int = InputMethodManager.SHOW_IMPLICIT): Unit` Tries to focus this view and show the soft input window for it.