abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorjuloo2015-08-08 23:07:38 +0200
committerjuloo2015-08-08 23:07:38 +0200
commit9d614bc4fe35674ffbfd067aed11e0b9c314e6df (patch)
tree845fd3706f816326cf251757baf78ffa85230004 /res/xml
parent6f09c971c0fe9eb0f03690bb3305164aa77c5a45 (diff)
downloadunexpected-keyboard-9d614bc4fe35674ffbfd067aed11e0b9c314e6df.tar.gz
unexpected-keyboard-9d614bc4fe35674ffbfd067aed11e0b9c314e6df.zip
More settings
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/settings.xml35
1 files changed, 26 insertions, 9 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 7902527..fe6dbef 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -14,13 +14,26 @@
android:key="sub_value_dist"
android:title="@string/pref_preci_title"
android:summary="@string/pref_preci_summary"
- android:defaultValue="8.0"
+ android:defaultValue="10.0"
min="5.0"
- max="20.0"
+ max="25.0"
+ />
+ <juloo.common.IntSlideBarPreference
+ android:key="longpress_timeout"
+ android:title="@string/pref_long_timeout_title"
+ android:summary="@string/pref_long_timeout_summary"
+ android:defaultValue="600"
+ min="50"
+ max="2000"
+ />
+ <juloo.common.IntSlideBarPreference
+ android:key="longpress_interval"
+ android:title="@string/pref_long_interval_title"
+ android:summary="@string/pref_long_interval_summary"
+ android:defaultValue="25"
+ min="5"
+ max="100"
/>
- <!-- Precision (sub_value_dist) -->
- <!-- Key repeat timeout (longpress_timeout) -->
- <!-- Key repeat interval (longpress_interval) -->
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_vibrate">
<CheckBoxPreference
@@ -28,9 +41,13 @@
android:title="@string/pref_vibrate_title"
android:summary="@string/pref_vibrate_summary"
android:defaultValue="true" />
- <!-- Duration (vibrate_duration) -->
- </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_category_misc">
- <!-- Offset height (margin_bottom) -->
+ <juloo.common.IntSlideBarPreference
+ android:key="vibrate_duration"
+ android:title="@string/pref_vibrate_duration_title"
+ android:summary="@string/pref_vibrate_duration_summary"
+ android:defaultValue="20"
+ min="5"
+ max="50"
+ />
</PreferenceCategory>
</PreferenceScreen>