summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-04-06 23:11:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-06 23:11:51 +0000
commit6c6d266c401a587f3d6495f7eddd547bdc5759fb (patch)
treec3855a4e79fe6cec05963845bc4051bfedbc6dea
parent1f188b56995f4d4492af1c8f77cfb5fbea24e03e (diff)
parentdbc401888d18e8751e9bd749dcdadb17dcb8f8b2 (diff)
downloadframeworks_base-6c6d266c401a587f3d6495f7eddd547bdc5759fb.zip
frameworks_base-6c6d266c401a587f3d6495f7eddd547bdc5759fb.tar.gz
frameworks_base-6c6d266c401a587f3d6495f7eddd547bdc5759fb.tar.bz2
Merge "Fix progress tint attributes"
-rw-r--r--core/java/android/widget/ProgressBar.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/widget/ProgressBar.java b/core/java/android/widget/ProgressBar.java
index 50d701a..16353e8 100644
--- a/core/java/android/widget/ProgressBar.java
+++ b/core/java/android/widget/ProgressBar.java
@@ -316,7 +316,7 @@ public class ProgressBar extends View {
mProgressTintInfo = new ProgressTintInfo();
}
mProgressTintInfo.mProgressTintMode = Drawable.parseTintMode(a.getInt(
- R.styleable.ProgressBar_progressBackgroundTintMode, -1), null);
+ R.styleable.ProgressBar_progressTintMode, -1), null);
mProgressTintInfo.mHasProgressTintMode = true;
}
@@ -334,7 +334,7 @@ public class ProgressBar extends View {
mProgressTintInfo = new ProgressTintInfo();
}
mProgressTintInfo.mProgressBackgroundTintMode = Drawable.parseTintMode(a.getInt(
- R.styleable.ProgressBar_progressTintMode, -1), null);
+ R.styleable.ProgressBar_progressBackgroundTintMode, -1), null);
mProgressTintInfo.mHasProgressBackgroundTintMode = true;
}
@@ -365,7 +365,7 @@ public class ProgressBar extends View {
mProgressTintInfo.mHasSecondaryProgressTint = true;
}
- if (a.hasValue(R.styleable.ProgressBar_indeterminateTint)) {
+ if (a.hasValue(R.styleable.ProgressBar_indeterminateTintMode)) {
if (mProgressTintInfo == null) {
mProgressTintInfo = new ProgressTintInfo();
}