mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-10 16:02:05 -04:00
Reformat
This commit is contained in:
parent
6e60db2b6f
commit
ce2c36bcb3
@ -69,8 +69,8 @@ public class AnimatedProgressBar extends LinearLayout {
|
|||||||
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||||
inflater.inflate(R.layout.progress_bar, this, true);
|
inflater.inflate(R.layout.progress_bar, this, true);
|
||||||
|
|
||||||
this.setBackgroundColor(
|
// set the background color for this view
|
||||||
backgroundColor); // set the background color for this view
|
this.setBackgroundColor(backgroundColor);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,11 @@ public class SliderPreference extends DialogPreference {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setSummary(CharSequence summary) {
|
||||||
|
super.setSummary(summary);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setSummary(int summaryResId) {
|
public void setSummary(int summaryResId) {
|
||||||
try {
|
try {
|
||||||
@ -92,11 +97,6 @@ public class SliderPreference extends DialogPreference {
|
|||||||
mSummaries = summaries;
|
mSummaries = summaries;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void setSummary(CharSequence summary) {
|
|
||||||
super.setSummary(summary);
|
|
||||||
}
|
|
||||||
|
|
||||||
public float getValue() {
|
public float getValue() {
|
||||||
return mSeekBarValue;
|
return mSeekBarValue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user