This commit is contained in:
Rashiq 2016-01-06 15:43:58 +01:00
parent 6e60db2b6f
commit ce2c36bcb3
2 changed files with 7 additions and 7 deletions

View File

@ -69,8 +69,8 @@ public class AnimatedProgressBar extends LinearLayout {
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
inflater.inflate(R.layout.progress_bar, this, true);
this.setBackgroundColor(
backgroundColor); // set the background color for this view
// set the background color for this view
this.setBackgroundColor(backgroundColor);
}

View File

@ -78,6 +78,11 @@ public class SliderPreference extends DialogPreference {
}
}
@Override
public void setSummary(CharSequence summary) {
super.setSummary(summary);
}
@Override
public void setSummary(int summaryResId) {
try {
@ -92,11 +97,6 @@ public class SliderPreference extends DialogPreference {
mSummaries = summaries;
}
@Override
public void setSummary(CharSequence summary) {
super.setSummary(summary);
}
public float getValue() {
return mSeekBarValue;
}