aboutsummaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-27 17:42:42 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-27 17:42:42 -0700
commitd77b2b14ebf6532b7b0e42e9d2219ea1dacbdb18 (patch)
tree7c2b222babd7ea30f7fa07bcab7473b55ccae1fe /res/values
parent11810a9a0b0a041916faa8bfd07b0b7bd4533583 (diff)
downloaddsub-d77b2b14ebf6532b7b0e42e9d2219ea1dacbdb18.tar.gz
dsub-d77b2b14ebf6532b7b0e42e9d2219ea1dacbdb18.tar.bz2
dsub-d77b2b14ebf6532b7b0e42e9d2219ea1dacbdb18.zip
#241 Generalize SeekBarPreference to accept custom attributes
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 13456e18..e0a3d00d 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -26,4 +26,11 @@
<attr name="rating_bad" format="reference"/>
<attr name="rating_good" format="reference"/>
<attr name="drawerItemsIcons" format="reference"/>
+
+ <declare-styleable name="SeekBarPreference">
+ <attr name="min" format="integer"/>
+ <attr name="max" format="integer"/>
+ <attr name="stepSize" format="float"/>
+ <attr name="display" format="string"/>
+ </declare-styleable>
</resources>