abouttreesummaryrefslogcommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorJules Aguillon2022-09-19 11:41:18 +0200
committerJules Aguillon2022-09-19 11:41:18 +0200
commit25a6e71ee815a196d76358cf132c45eb38a10b35 (patch)
tree99a76bca782a96e8abe0a9311e6ad4f924e2a7fe /res/values
parent617f0878bca876bc7163b82586e0ea9a4a623c84 (diff)
downloadunexpected-keyboard-25a6e71ee815a196d76358cf132c45eb38a10b35.tar.gz
unexpected-keyboard-25a6e71ee815a196d76358cf132c45eb38a10b35.zip
Add the Extra Keys option
Allows to add more keys to the keyboard from a predefined list. The implementation doesn't use MultiSelectListPreference because it doesn't seem possible to change the item layout to properly show the rendered symbols.
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml6
-rw-r--r--res/values/strings.xml1
2 files changed, 7 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 0000000..b012a7c
--- /dev/null
+++ b/res/values/attrs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <declare-styleable name="ExtraKeyCheckBoxPreference">
+ <attr name="index" format="integer"/>
+ </declare-styleable>
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 78042ee..513b88f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -12,6 +12,7 @@
<string name="pref_accents_e_none">Hide accents</string>
<string name="pref_autocapitalisation_title">Automatic capitalisation</string>
<string name="pref_autocapitalisation_summary">Press Shift at the beginning of a sentence</string>
+ <string name="pref_extra_keys_title">Add keys to the keyboard</string>
<string name="pref_programming_layout_title">Keyboard layout for programming</string>
<string name="pref_programming_layout_none">None</string>
<string name="pref_category_typing">Typing</string>