diff options
| author | Gero Streng | 2022-09-25 02:23:33 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2022-10-23 22:51:36 +0200 |
| commit | baec5a76ee51e86c8256423924331908da75279f (patch) | |
| tree | cdcd025f45773fc122e4d92f11b1baca6fcd1118 /res/values | |
| parent | ea0b873dd826b447c5518f033c9b832fb4be3dbf (diff) | |
| download | unexpected-keyboard-baec5a76ee51e86c8256423924331908da75279f.tar.gz unexpected-keyboard-baec5a76ee51e86c8256423924331908da75279f.zip | |
Add optional NumPad
Shows a NumPad depending on preference:
Never/Landscape/Always
Diffstat (limited to 'res/values')
| -rw-r--r-- | res/values/arrays.xml | 10 | ||||
| -rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 74ad18f..7dc5a96 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -67,6 +67,16 @@ <item>@string/pref_accents_e_selected</item> <item>@string/pref_accents_e_none</item> </string-array> + <string-array name="pref_show_numpad_values"> + <item>never</item> + <item>landscape</item> + <item>always</item> + </string-array> + <string-array name="pref_show_numpad_entries"> + <item>@string/pref_show_numpad_never</item> + <item>@string/pref_show_numpad_landscape</item> + <item>@string/pref_show_numpad_always</item> + </string-array> <string-array name="pref_accents_values"> <item>1</item> <item>2</item> diff --git a/res/values/strings.xml b/res/values/strings.xml index 501aefc..9195670 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -10,6 +10,10 @@ <string name="pref_accents_e_all_installed">Show accents for all installed languages</string> <string name="pref_accents_e_selected">Only show accents for the selected language</string> <string name="pref_accents_e_none">Hide accents</string> + <string name="pref_show_numpad_title">Show NumPad</string> + <string name="pref_show_numpad_never">Never</string> + <string name="pref_show_numpad_landscape">Only in landscape mode</string> + <string name="pref_show_numpad_always">Always</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> |
