diff options
| author | Alan Viverette <alanv@google.com> | 2015-04-06 15:01:23 -0700 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2015-04-06 15:01:23 -0700 |
| commit | dbc401888d18e8751e9bd749dcdadb17dcb8f8b2 (patch) | |
| tree | a14408d1682d3afaea704f79f4110a63854c0783 /core | |
| parent | 1ffaca4414c5c2b73e5aaf085728e3b01ea534c3 (diff) | |
| download | frameworks_base-dbc401888d18e8751e9bd749dcdadb17dcb8f8b2.zip frameworks_base-dbc401888d18e8751e9bd749dcdadb17dcb8f8b2.tar.gz frameworks_base-dbc401888d18e8751e9bd749dcdadb17dcb8f8b2.tar.bz2 | |
Fix progress tint attributes
Change-Id: Ie22f5177144ecbe981f6b342236714a3ce520cbc
Diffstat (limited to 'core')
| -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(); } |
