CustomSeekBar: Fix disabling when create

before: https://imgur.com/a/jtNip
after: https://imgur.com/a/Q1rJH
This commit is contained in:
xyyx
2018-02-22 15:20:18 +08:00
committed by hungphan2001
parent 243dffeb0e
commit f4e35af95b

View File

@@ -150,6 +150,8 @@ public class CustomSeekBarPreference extends Preference implements SeekBar.OnSee
view.setDividerAllowedAbove(false);
//view.setDividerAllowedBelow(false);
mSeekBar.setEnabled(isEnabled());
}
public void setMax(int max) {