CustomSeekBar: Fix disabling when create

before: https://imgur.com/a/jtNip
after: https://imgur.com/a/Q1rJH
This commit is contained in:
xyyx
2019-10-03 19:47:09 +07:00
committed by hungphan2001
parent 243dffeb0e
commit f4e35af95b
@@ -150,6 +150,8 @@ public class CustomSeekBarPreference extends Preference implements SeekBar.OnSee
view.setDividerAllowedAbove(false); view.setDividerAllowedAbove(false);
//view.setDividerAllowedBelow(false); //view.setDividerAllowedBelow(false);
mSeekBar.setEnabled(isEnabled());
} }
public void setMax(int max) { public void setMax(int max) {