abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2021-04-24 23:22:25 +0200
committerJules Aguillon2021-04-24 23:22:25 +0200
commit9bb2642e2cfa0c46b99bdd7bde8feb158c0d9082 (patch)
treead93e5dfa2bd376405386a297fb7bde292d62d1d /res
parent2dbb3dc28f37ed9111b9394ea8ee5109a9562fe7 (diff)
downloadunexpected-keyboard-9bb2642e2cfa0c46b99bdd7bde8feb158c0d9082.tar.gz
unexpected-keyboard-9bb2642e2cfa0c46b99bdd7bde8feb158c0d9082.zip
Add the label size option
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml6
-rw-r--r--res/xml/settings.xml8
2 files changed, 12 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index fc6860d..9637b57 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -9,6 +9,8 @@
<string name="subtype_label_qwerty">%s QWERTY</string>
<string name="pref_category_layout">Layout</string>
+ <string name="pref_disable_accent_keys_title">Toggle accent keys</string>
+ <string name="pref_disable_accent_keys_summary">Whether to remove the accent keys from the keyboard</string>
<string name="pref_category_typing">Typing</string>
<string name="pref_preci_title">Precision</string>
@@ -33,6 +35,6 @@
<string name="pref_key_height_summary">%sdp</string>
<string name="pref_horizontal_margin_title">Horizontal margin</string>
<string name="pref_horizontal_margin_summary">%sdp</string>
- <string name="pref_disable_accent_keys_title">Toggle accent keys</string>
- <string name="pref_disable_accent_keys_summary">Whether to remove the accent keys from the keyboard.</string>
+ <string name="pref_character_size_title">Label size</string>
+ <string name="pref_character_size_summary">Size of characters displayed on the keyboard (%.2fx)</string>
</resources>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index ef4e232..d56f029 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -81,5 +81,13 @@
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"
+ />
</PreferenceCategory>
</PreferenceScreen>