Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Customize progress color and progress background color via java #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,24 @@ private void setupProgressBounds() {
);
}

public void setProgressColor(int color) {
mProgressColor = color;
setupProgressBarPaints();
}

public int getProgressColor() {
return mProgressColor;
}

public void setProgressBackgroundColor(int color) {
mProgressBackgroundColor = color;
setupProgressBarPaints();
}

public int getProgressBackgroundColor() {
return mProgressBackgroundColor;
}

Animation getShowAnimation() {
return mShowAnimation;
}
Expand Down