abouttreesummaryrefslogcommitdiff
path: root/res/xml
AgeCommit message (Collapse)AuthorFilesLines
6 daysAdd languages for which a dictionary is available (#1267)Jules Aguillon1-2/+14
* gen_method_xml.py: Warn for unused dictionaries Helps catch missing locales. * Add languages for which a dictionary is available Make dictionaries are available to more languages. Extra keys are added for as many languages as possible but no layout is added. Some languages are still not added, mainly because they use a script that the keyboard doesn't support yet: pa, gu, or, te, mai, sat, km, iw, zgh, sd, ml, sa
6 daysFix wrong locale selection for English (#1263)Jules Aguillon1-3/+3
The "en" locale, which was meant to be the default for English locales that are not in the list, was used instead of exact locales like "en_US". The "en" locale was also used as the default locale for languages that are not in the list at all. The "en_GB" locale is used for this instead.
2026-04-24Fix the spacebar in Hangul combining (#1244)Jules Aguillon1-1/+1
* Fix the spacebar in Hangul combining The encoding for the spacebar changed and the Hangul combining code was not updated. * Change the default layout for Korean
2026-04-14Change default locale for en_* and update IME layout (#1237)Tony O1-1/+1
Change default unknown locale dictionary from en_US to en_GB
2026-04-05Add Finnish QWERTY keyboard layout XML (#1221)Tony O1-0/+1
2026-02-19Autocomplete on space bar and undo on delete (#1179)Jules Aguillon1-0/+1
* Refactor: Implement the space key as an editing action The space key is no longer a CHAR key but now an EDITING key. This allows changing the behavior of the space bar while allowing custom layout users to define a key outputing a space as before. KeyModifier and ComposeKey are updated to treat the space key as before. * Enter the best suggestion when the space bar is pressed * Refactor: Implement backspace as an editing action * Undo suggestion when delete is pressed The delete key (backspace internally) undoes the suggestion if the last action done was entering the suggestion with either the space bar or the candidates view. * Add an option to enable space bar autocomplete This option is off by default. Undoing a completion with backspace works in any case. * Refactor: Track selection emptyness in CurrentlyTypedWord This removes an expensive RPC call.
2026-02-14Increase maximum value for the bottom margin option (#1178)Jules Aguillon1-4/+4
2026-02-02Spell checking (#1137)Jules Aguillon1-67/+67
This adds dictionary-based spell checking to the keyboard. The keyboard looks at the word being typed and matches it against a dictionary to either complete the rest of the word or find alternative spellings. The core of this feature is implemented in cdict, which is included as a submodule in vendor/cidct. Cdict is developped at https://github.com/Julow/cdict The dictionaries are hosted at https://github.com/Julow/Unexpected-Keyboard-dictionaries/ The wordlists used to build the dictionaries are the same ones used by HeliBoard from https://codeberg.org/Helium314/aosp-dictionaries - Add an activity accessible from the launcher app that lists available dictionaries with a download button. The DictionaryListView view shows the list of available dictionaries and handles downloading and installing them. - The Dictionaries class manages installed dictionaries. Dictionaries are installed as individual files into the app's private directory. - Available dictionaries are listed in dictionaries.xml, which is generated when building Unexpected-Keyboard-dictionaries. method.xml mentions the dictionary name for each locales.
2026-02-01Candidates view improvements (#1168)Jules Aguillon1-0/+3
* Refactor: Create subpackage 'suggestions' * Candidates view: Status message when no dictionary installed Show a message on the candidates view instead of leaving it empty. A button points to the dictionary installation activity. * Add an option to disable the suggestions * Refactor: Remove Config.should_show_candidates_view This was moved to EditorConfig. * Don't disable text suggestions in some text boxes * Suggestion text size matching settings The candidates view height is based on the height of keyboard rows and the suggestion text size is based on the size of labels on the keys. This is influenced by symbol size and keyboard height options.
2026-01-30Option to switch to the previously used keyboard (#1165)Jules Aguillon1-3/+3
The "Switch to the last used keyboard" is renamed to "Switching between input methods" and allows to select "Switch to last used", which was the default in older releases.
2025-12-27More practical definition of method.xml (#1149)Jules Aguillon1-11/+14
Locale are now defined in `gen_method_xml.py` in a more convenient and checked way. It contains both the locale definition and the generation script. `method.xml` is generated with: gradle test The goal is to support dictionaries for spell checking.
2025-09-29Make history duration configurable (#1074)Matej Drobnič1-0/+3
2025-08-17Slider sensitivity option and improve slider ergonimics (#1070)Jules Aguillon1-0/+1
* Add option 'Space bar slider sensitivity' * Fix slider moving the cursor twice at the beginning The slider was generating two events when first activated. Since 2bed42857. * Make slider less sensitive for the first step This moves the second slider step approximately 40% further and takes the new sensitivity option into account. Allows moving the cursor by one spot more easily.
2025-08-17Add support for four important Nigerian languages (#1077)Jules Aguillon1-0/+4
This adds the English, Hausa, Yoruba and Igbo languages for Nigeria. The goal is to add the ₦ symbol as well as basic support for these languages. No layout is added.
2025-08-07Add '⊢' to the greekmath layoutJules Aguillon1-1/+1
2025-06-29Add option to also disable number entry layout (#1007)Matej Drobnič1-1/+1
2025-06-19Added Macedonian language layout (#1016)David1-0/+1
2025-05-30Settings: Remove the upper limit in keyboard heightJules Aguillon1-1/+1
This can be used on phones that have several screens.
2025-05-25Add icelandic layout (#999)tenextractor1-1/+1
2025-05-22Better support for foldable devices (#982)Matej Drobnič1-0/+6
* Add AndroidX WindowManager unfortunately, this seems to be the only way to get fold state, native Android APIs are internal. To add this, we need to update some dependencies, raise java version and raise compile SDK. * adds separate layouts and separate layout settings for folded and unfolded state of the device. The affected settings are: + the margin bottom settings + the horizontal margin settings + the keyboard height settings * Update shell.nix
2025-04-20Sinhala phonetic layout (#965)Anton Karmanov1-0/+1
2025-04-14Add ù and û to French languagesJules Aguillon1-4/+4
2025-03-27Remove symbols from the number row by default (#964)Jules Aguillon3-11/+25
The number row option is changed into a ListPreference and controls whether the number row contains symbols or not. Co-authored-by: Joey Schaff <j@jaoh.xyz>
2025-02-15Remove Japanese from method.xmlJules Aguillon1-1/+0
This makes the keyboard incorrectly reports that it supports Japanese.
2025-02-09Add swipe actions on number row (#892)dzaima1-10/+10
2025-01-25Maltese layout (#825)tenextractor1-0/+1
2025-01-25Add Mongolian layout (#882)David Holdeman1-0/+1
2025-01-18Azerbaijani layout (#827)tenextractor1-0/+1
2025-01-12Add "paste" to the pin entry layoutJules Aguillon1-1/+1
2025-01-11Remove the 'slider="true"' attributeJules Aguillon3-3/+3
Whether a key behaves as a slider is now purely defined by the key values present on it.
2025-01-02Lithuanian QWERTY layout (#824)tenextractor1-1/+1
2024-12-29Update Shift mappings for math symbolsJules Aguillon1-1/+1
Shift is the "not" version of some math operators. ∋ is added to the math layout.
2024-12-29Uzbek layout (#828)tenextractor1-0/+1
2024-12-26Add Estonian to method.xmlJules Aguillon1-0/+1
2024-12-19Added tamil layout (#833)Jagadeeshan S1-0/+1
Signed-off-by: Jagadeeshan S <jagadeeshan.s@addverb.com>
2024-12-14Welsh layout (#816)tenextractor1-0/+1
2024-12-07Add support for de-BE, en-IN, fr-BE, ga, haw, ka-GE, kk, sqJules Aguillon1-2/+13
2024-12-07Add support for KannadaJules Aguillon1-0/+1
Add language support for Kannada, including a layout and numerals.
2024-12-05method.xml: Move en-US to the top of the listJules Aguillon1-1/+1
The first language of the list can be used as the default.
2024-11-17method.xml: Add AustraliaJules Aguillon1-0/+1
2024-09-21Increase default label size (#747)bokidori1-1/+1
Change default label size to 1.15
2024-09-14Add Serbian to method.xmlJules Aguillon1-0/+1
2024-09-08Add Japanese translation and layout (#743)cknight8281-0/+1
2024-07-20method.xml: Remove overridesImplicitlyEnabledSubtypeJules Aguillon1-1/+1
This was hoped to fix a random layouts to be shown by default to users of unsupported languages. This breaks language switching using the system dialog.
2024-07-14Fix unintended layout used for unsupported languagesJules Aguillon1-1/+1
The arabic layout was used as the default on devices where all the installed languages are not supported by the keyboard. This is not intended. This is probably caused by 'getCurrentInputMethodSubtype' returning the first layout in the list of disabled subtypes in alphabetical or language tag order. Re-ordering the subtypes in method.xml had no effect. Setting 'overridesImplicitlyEnabledSubtype' in method.xml has no measured effect.
2024-07-06Make the emoji and clipboard bottom rows consistentJules Aguillon1-3/+3
2024-07-06Clipboard pane (#681)Jules Aguillon2-1/+11
This adds the clipboard pane, which allows to save an arbitrary number of clipboards and to paste them later. The key can be disabled in settings. Checking the "Recently copied text" checkbox will cause the keyboard to keep a temporary history of copied text. This history can only contain 3 elements which expire after 5 minutes. If this is unchecked, no history is collected. History entries can be pinned into the persisted list of pins.
2024-06-30Option to disable key repeatJules Aguillon1-1/+2
Internally "key repeat" is reword into "long press" when the same mechanism was used for both features. The constraint that 'timeoutWhat' must be set to '-1' when no message is expected has been lifted to simplify the code.
2024-06-24Set preferred position for Norwegian extra keysJules Aguillon1-1/+1
This should make the QWERTY (US) layout look the same to Norwegian users as the current latn_qwerty_no layout, allowing it to be changed.
2024-06-24Remove 'loc' keys from latn_qwerty_usJules Aguillon1-20/+20
Use the "preferred position" feature to place the removed keys approximately where they were.