public interface ProgressView
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ANIMATED |
static java.lang.String |
KEY_DRAWN_PROGRESS |
static java.lang.String |
KEY_STRIPED |
static java.lang.String |
KEY_USER_PROGRESS |
Modifier and Type | Method and Description |
---|---|
int |
getProgress() |
boolean |
isAnimated() |
boolean |
isStriped() |
void |
setAnimated(boolean animated)
Sets whether the view should animate itself.
|
void |
setProgress(int progress)
Updates the amount of progress displayed to the user.
|
void |
setStriped(boolean striped)
Sets whether the view should display a striped pattern.
|
static final java.lang.String KEY_USER_PROGRESS
static final java.lang.String KEY_DRAWN_PROGRESS
static final java.lang.String KEY_STRIPED
static final java.lang.String KEY_ANIMATED
void setProgress(int progress)
progress
- an integer between 0-100int getProgress()
void setStriped(boolean striped)
striped
- true for a striped pattern, false for a plain patternboolean isStriped()
void setAnimated(boolean animated)
animated
- whether the view should animate its updates or not.boolean isAnimated()