Pull preferences into their own class

This commit is contained in:
Cameron Gutman
2014-11-02 13:05:17 -08:00
parent c1397e331b
commit 2f4042da8f
4 changed files with 141 additions and 63 deletions

View File

@@ -48,7 +48,7 @@ public class SeekBarPreference extends DialogPreference
}
// Get default and max seekbar values
defaultValue = attrs.getAttributeIntValue(SCHEMA_URL, "defaultValue", 0);
defaultValue = PreferenceConfiguration.getDefaultBitrate(context);
maxValue = attrs.getAttributeIntValue(SCHEMA_URL, "max", 100);
}