abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml14
-rw-r--r--res/values/strings.xml9
-rw-r--r--res/xml/settings.xml2
3 files changed, 22 insertions, 3 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index d8c83f1..66d5699 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -32,4 +32,18 @@
<item>light</item>
<item>black</item>
</string-array>
+ <string-array name="pref_swipe_dist_entries">
+ <item>@string/pref_swipe_dist_e_very_short</item>
+ <item>@string/pref_swipe_dist_e_short</item>
+ <item>@string/pref_swipe_dist_e_default</item>
+ <item>@string/pref_swipe_dist_e_far</item>
+ <item>@string/pref_swipe_dist_e_very_far</item>
+ </string-array>
+ <string-array name="pref_swipe_dist_values">
+ <item>5</item>
+ <item>7.5</item>
+ <item>15</item>
+ <item>25</item>
+ <item>35</item>
+ </string-array>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index ca31dca..59689ea 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -11,8 +11,8 @@
<string name="pref_accents_e_all">Show every accents</string>
<string name="pref_accents_e_none">Hide accents</string>
<string name="pref_category_typing">Typing</string>
- <string name="pref_preci_title">Precision</string>
- <string name="pref_preci_summary">Distance of corner values (%sdp)</string>
+ <string name="pref_swipe_dist_title">Swiping distance</string>
+ <string name="pref_swipe_dist_summary">Distance of characters in the corners of the keys (%s)</string>
<string name="pref_long_timeout_title">Long press timeout</string>
<string name="pref_long_interval_title">Long press interval</string>
<string name="pref_category_vibrate">Vibration</string>
@@ -31,4 +31,9 @@
<string name="pref_theme_e_dark">Dark</string>
<string name="pref_theme_e_light">Light</string>
<string name="pref_theme_e_black">Black</string>
+ <string name="pref_swipe_dist_e_very_short">Very short</string>
+ <string name="pref_swipe_dist_e_short">Short</string>
+ <string name="pref_swipe_dist_e_default">Normal</string>
+ <string name="pref_swipe_dist_e_far">Far</string>
+ <string name="pref_swipe_dist_e_very_far">Very far</string>
</resources>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 94c96d6..c882f00 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -5,7 +5,7 @@
<ListPreference android:key="accents" android:title="@string/pref_accents_title" android:summary="%s" android:defaultValue="1" android:entries="@array/pref_accents_entries" android:entryValues="@array/pref_accents_values"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_typing">
- <juloo.common.SlideBarPreference android:key="sub_value_dist" android:title="@string/pref_preci_title" android:summary="@string/pref_preci_summary" android:defaultValue="10.0" min="5.0" max="25.0"/>
+ <ListPreference android:key="swipe_dist" android:title="@string/pref_swipe_dist_title" android:summary="@string/pref_swipe_dist_summary" android:defaultValue="15" android:entries="@array/pref_swipe_dist_entries" android:entryValues="@array/pref_swipe_dist_values"/>
<juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/>
<juloo.common.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="%sms" android:defaultValue="25" min="5" max="100"/>
<CheckBoxPreference android:key="precise_repeat" android:title="@string/pref_precise_repeat_title" android:summary="@string/pref_precise_repeat_summary" android:defaultValue="true"/>