abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2022-01-30 23:55:15 +0100
committerJules Aguillon2022-01-30 23:55:15 +0100
commit2d2f0dd51d5d463f4ed592ff26c0c85e2ba8d296 (patch)
tree0669ff47dddf10c54f4033e71cd00a23a5d199b5 /res
parent8631dfb723716e3273e92b2dfd02008d733b86a9 (diff)
downloadunexpected-keyboard-2d2f0dd51d5d463f4ed592ff26c0c85e2ba8d296.tar.gz
unexpected-keyboard-2d2f0dd51d5d463f4ed592ff26c0c85e2ba8d296.zip
Add options for the spacing between the keys
Two options: vertical and horizontal.
Diffstat (limited to 'res')
-rw-r--r--res/values-fr/strings.xml2
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/settings.xml2
3 files changed, 6 insertions, 0 deletions
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index 6650119..5588d5d 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -37,6 +37,8 @@
<string name="pref_swipe_dist_e_default">Normale</string>
<string name="pref_swipe_dist_e_far">Longue</string>
<string name="pref_swipe_dist_e_very_far">Très longue</string>
+ <string name="pref_key_horizontal_space">Espacement horizontal entre les touches</string>
+ <string name="pref_key_vertical_space">Espacement vertical entre les touches</string>
<string name="key_action_next">Suiv.</string>
<string name="key_action_done">Fin</string>
<string name="key_action_go">Aller</string>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 199fbd2..46754d7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -37,6 +37,8 @@
<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>
+ <string name="pref_key_horizontal_space">Horizontal spacing between the keys</string>
+ <string name="pref_key_vertical_space">Vertical spacing between the keys</string>
<string name="key_action_next">Next</string>
<string name="key_action_done">Done</string>
<string name="key_action_go">Go</string>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index df5f201..a70a323 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -20,5 +20,7 @@
<juloo.common.IntSlideBarPreference android:key="key_height" android:title="@string/pref_key_height_title" android:summary="%sdp" android:defaultValue="50" min="30" max="90"/>
<juloo.common.IntSlideBarPreference android:key="horizontal_margin" android:title="@string/pref_horizontal_margin_title" android:summary="%sdp" android:defaultValue="3" min="0" max="20"/>
<juloo.common.SlideBarPreference android:key="character_size" android:title="@string/pref_character_size_title" android:summary="@string/pref_character_size_summary" android:defaultValue="1.0" min="0.8" max="1.2"/>
+ <juloo.common.SlideBarPreference android:key="key_vertical_space" android:title="@string/pref_key_vertical_space" android:summary="%sdp" android:defaultValue="2.0" min="0.5" max="6.0"/>
+ <juloo.common.SlideBarPreference android:key="key_horizontal_space" android:title="@string/pref_key_horizontal_space" android:summary="%sdp" android:defaultValue="2.0" min="0.5" max="6.0"/>
</PreferenceCategory>
</PreferenceScreen>