Skip to content
This repository was 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
Customize progress color and progress background color via java
  • Loading branch information
daniel-robertson committed Dec 9, 2015
commit ceaeeda4559d49750e70b5cd96a9fb5258f24535
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