Swap star tint.
am: e39066c * commit 'e39066c30912bd027cd156c10ff4c9079144ea3d': Swap star tint. Change-Id: I570450b5c7ac7a6544e4e7c3899151f28fcdb035
This commit is contained in:
@@ -124,12 +124,13 @@ public class ImportanceSeekBarPreference extends SeekBarPreference implements
|
||||
private void applyAutoUi(ImageView autoButton) {
|
||||
mSeekBar.setEnabled(!mAutoOn);
|
||||
|
||||
final ColorStateList tint = mAutoOn ? mInactiveSliderTint : mActiveSliderTint;
|
||||
final ColorStateList sliderTint = mAutoOn ? mInactiveSliderTint : mActiveSliderTint;
|
||||
final ColorStateList starTint = mAutoOn ? mActiveSliderTint : mInactiveSliderTint;
|
||||
Drawable icon = autoButton.getDrawable().mutate();
|
||||
icon.setTintList(tint);
|
||||
icon.setTintList(starTint);
|
||||
autoButton.setImageDrawable(icon);
|
||||
mSeekBar.setProgressTintList(tint);
|
||||
mSeekBar.setThumbTintList(tint);
|
||||
mSeekBar.setProgressTintList(sliderTint);
|
||||
mSeekBar.setThumbTintList(sliderTint);
|
||||
|
||||
if (mAutoOn) {
|
||||
mSummary = getProgressSummary(
|
||||
|
Reference in New Issue
Block a user