diff options
| author | Alan Viverette <alanv@google.com> | 2015-04-06 23:11:30 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-06 23:11:51 +0000 |
| commit | 6c6d266c401a587f3d6495f7eddd547bdc5759fb (patch) | |
| tree | c3855a4e79fe6cec05963845bc4051bfedbc6dea | |
| parent | 1f188b56995f4d4492af1c8f77cfb5fbea24e03e (diff) | |
| parent | dbc401888d18e8751e9bd749dcdadb17dcb8f8b2 (diff) | |
| download | frameworks_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.java | 6 |
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(); } |
