Fix seekbar attribute grabbing

* Also remove from attrs as we have always used android: for max

Change-Id: Idc1551e1e79c106a9418a491f7bef51c2e82635f
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 1c2863d..206e159 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -19,7 +19,6 @@
     <declare-styleable name="CustomSeekBarPreference">
         <attr name="interval" format="integer" />
         <attr name="min" format="integer" />
-        <attr name="max" format="integer" />
         <attr name="units" format="string|reference" />
     </declare-styleable>
 
diff --git a/src/com/bliss/support/preferences/CustomSeekBarPreference.java b/src/com/bliss/support/preferences/CustomSeekBarPreference.java
index 98d1a9e..4be7256 100644
--- a/src/com/bliss/support/preferences/CustomSeekBarPreference.java
+++ b/src/com/bliss/support/preferences/CustomSeekBarPreference.java
@@ -50,7 +50,7 @@
         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", "");