abouttreesummaryrefslogcommitdiff
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
2026-02-19Autocomplete on space bar and undo on delete (#1179)Jules Aguillon2-0/+3
* 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 Aguillon10-70/+358
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 Aguillon5-3/+21
* 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 Aguillon3-17/+29
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.
2026-01-18Fix crash when using the Monet themes on Android 9 (#1155)Jules Aguillon3-12/+36
The color resources starting with `@android:color/system_` are not available on API < 31. No effort is made to implement the Monet feature on Android 9. Instead, the monet themes look like the Dark and Light themes.
2025-12-28Candidates viewJules Aguillon3-1/+15
The `CandidatesView` is implemented as a `LinearLayout` that is divided horizontally with up to 3 `TextView`. It might in the future contain buttons on the sides. The candidate view is nested into the input view rather than using Android's `setCandidatesView` and callbacks as the API is unreliable and complicated. The first suggestion goes in the middle to be more accessible. The second suggestion goes on the right to be more accessible to the right-handed, because it must go somewhere.
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-12-22Fix various linting issues (#1146)Jules Aguillon28-36/+16
2025-12-13Added keyboards (#1129)10Develops1-3/+15
* Delete srcs/layouts/armenian_ph_am.xml There is a phonetic layout which is used in old typewriters * Amendments according to GOST 6431-90 * Russian traditional layout cyrl_jiuken.xml * Create cyrl_yawerty.xml Added ЯВЕРТЫ layout * Update cyrl_jcuken_ru.xml Typo fixed * Added QZERTY layout for Italian and Latin
2025-12-13Update the emoji list to Unicode 17.0 (#1138)Jules Aguillon1-8/+179
2025-11-19Ukrainian l10n update (#1128)Andy Callisto1-23/+37
* Ukrainian l10n update * "Debug" translated
2025-11-01Turkish F layout (#1096)Autissima1-0/+3
2025-09-29Cobalt & Pine theme (#1084)wei lang3-0/+67
2025-09-29Make history duration configurable (#1074)Matej Drobnič3-0/+21
2025-09-03Python script encoding fix (#1093)Autissima1-1/+1
* Changed Python scripts so they work on my machine file open() used default encoding (cp1252 on my machine) but the text is utf-8, had to specify encoding in check_layout.py
2025-08-24add Everforest Light theme (#1080)Animesh3-0/+18
2025-08-17Slider sensitivity option and improve slider ergonimics (#1070)Jules Aguillon3-0/+15
* 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-07-05Update Russian translation (#1035)solokot1-13/+13
2025-07-02Add a missing comma in /res/values/strings.xml (#1026)Joey Schaff1-1/+1
2025-07-02Update French translationJules Aguillon1-16/+16
2025-07-02Pull translations from Weblate (#1025)Jules Aguillon15-138/+690
Translated using Weblate Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv> Co-authored-by: Packss <enzoana@hotmail.com> Co-authored-by: A <meow98317@gmail.com> Co-authored-by: Joppla <joppla@gmx.com> Co-authored-by: Validbit <validbit@outlook.com> Co-authored-by: Chasm Solacer <chasmsolacer@users.noreply.hosted.weblate.org> Co-authored-by: Akal! <ihsani.akmal.0@gmail.com> Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv> Co-authored-by: Mehmet Ali Cuma <v6lhost@proton.me> Co-authored-by: 是果宝呐 <shiguobaona@163.com> Co-authored-by: Giuseppe Barichello <beppuz@gmx.com> Co-authored-by: marciozomb13 <marciozomb13@outlook.com> Co-authored-by: Bora Atıcı <boratici.acc@gmail.com> Co-authored-by: Péter Czeglédy <czegledyp2@gmail.com> Co-authored-by: Jonatas P <jonatasp5592@gmail.com>
2025-07-01feat: added јcuken leyout for all slavic language (#992)Mal Bajun1-0/+3
Co-authored-by: Pavel «Mal Bajun» Skrylev <majioa@yandex.ru>
2025-07-01Fix extra bottom margin when navbar buttons absent (#1024)Jules Aguillon1-3/+0
* Fix extra bottom margin when navbar buttons absent Fix the extra space that was appearing when the gesture-navigation bar didn't contain the "switch IME" or "close IME" buttons. This was found on OneUI 7 with the two "keyboard key" related options turned off. * Remove unneeded nav bar detection and width computation
2025-06-29Add option to also disable number entry layout (#1007)Matej Drobnič20-37/+83
2025-06-29Update Russian translation (#1021)solokot1-2/+2
2025-06-19Added Macedonian language layout (#1016)David2-0/+4
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)tenextractor2-1/+4
2025-05-22Better support for foldable devices (#982)Matej Drobnič19-0/+42
* 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-27Update Russian translation (#986)solokot1-1/+1
2025-04-20Sinhala phonetic layout (#965)Anton Karmanov2-0/+4
2025-04-14strings: Improve "remove clipboard item" promptJules Aguillon13-13/+13
2025-04-14strings: Shorter name for the settings activityJules Aguillon18-18/+0
2025-04-14Remove the Share key from preferencesJules Aguillon18-18/+0
2025-04-14Add ù and û to French languagesJules Aguillon1-4/+4
2025-04-12launcher: Remove fade-in in animationsJules Aguillon3-47/+7
The fade-in caused the trace to be hidden when animations are disabled.
2025-04-06Update Russian translation (#976)solokot1-9/+9
2025-03-27Remove symbols from the number row by default (#964)Jules Aguillon22-11/+89
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-03-16Better material themes (#904)0skar21-13/+13
2025-03-16Pull changes from WeblateJules Aguillon18-127/+34
2025-03-08Change indentation of strings.xml files to match WeblateJules Aguillon18-2340/+2340
This runs sync_translations.py, which also remove uneeded comments.
2025-03-01prefs: Add 'delete_word' and 'forward_delete_word' to extra keysJules Aguillon18-0/+54
The gesture combination is mentioned. Preferred position are added.
2025-02-28APL and BQN layouts (#899)dzaima1-0/+6
* Add compact BQN layout * Add compact APL layout
2025-02-27Show a message in voice input chooser when emptyJules Aguillon18-0/+18
This avoids creating an empty dialog that appears as a mysterious white rectangle.
2025-02-27Update Ukrainian translation (#909)Sergiy Stupar1-6/+6
2025-02-15Remove Japanese from method.xmlJules Aguillon1-1/+0
This makes the keyboard incorrectly reports that it supports Japanese.
2025-02-15prefs: Add key description for dead keysJules Aguillon18-0/+18