Adjacent Files

Project Info

. > app > src > main > java > me > jfenn > alarmio > views > ProgressTextView.kt

ProgressTextView

Type: class

Display a progress circle with text in the center.

setText

Type: fun

Set the text (time) to display in the center of the view.

setProgress

Type: @JvmOverloads fun

Set the current progress value.

setMaxProgress

Type: @JvmOverloads fun

Set the largest progress that has been acquired so far.

setReferenceProgress

Type: fun

Set the progress value of the reference dot (?) on the circle. Mostly used in the stopwatch, to indicate the previous/best lap time.