Fix seekbar attribute grabbing *also remove from attrs as we have always used android: for max
Signed-off-by: xyyx <xyyx@mail.ru>
This commit is contained in:
@@ -50,7 +50,7 @@ public class CustomSeekBarPreference extends Preference implements SeekBar.OnSee
|
||||
final TypedArray a = context.obtainStyledAttributes(
|
||||
attrs, R.styleable.CustomSeekBarPreference);
|
||||
|
||||
mMax = attrs.getAttributeIntValue(SETTINGS_NS, "max", 100);
|
||||
mMax = attrs.getAttributeIntValue(ANDROIDNS, "max", 100);
|
||||
mMin = attrs.getAttributeIntValue(SETTINGS_NS, "min", 0);
|
||||
mDefaultValue = attrs.getAttributeIntValue(ANDROIDNS, "defaultValue", -1);
|
||||
mUnits = getAttributeStringValue(attrs, SETTINGS_NS, "units", "");
|
||||
|
||||
Reference in New Issue
Block a user