abouttreesummaryrefslogcommitdiff
path: root/res/xml
AgeCommit message (Collapse)AuthorFilesLines
2023-07-09Refactor: Don't define extra keys in xmlJules Aguillon1-36/+1
The current approach is hard to maintain, for example the last key "autofill" was not displayed. This implements a PreferenceGroup that contains the check boxes for every extra keys without involving listing the preferences in settings.xml. A custom layout is used to remove the 'title' text view. The list of extra keys is moved into the new class. 'ExtraKeyCheckBoxPreference' becomes a nested class.
2023-07-09Add symbol ₴ to Fn+h and to UkrainianJules Aguillon1-1/+1
2023-07-01New default Czech layout (#380)frimdo2-28/+65
The previous default layout is renamed `latn_qwertz_cz_multifunctional`.
2023-07-01Add extra keys to NorwegianJules Aguillon2-4/+4
The added keys are also placed on the Dvorak layout.
2023-06-25Generate layouts arrays used in settingsJules Aguillon36-36/+36
`gen_layouts.py` lists the layouts in `res/xml` and generate the `pref_layout_values` and `pref_layout_entries` arrays into `res/values/layouts.xml`. These arrays are hard to maintain as the order has to match, which is fragile. This relies on every layouts having a `name` attribute.
2023-06-25Standard layout names (#386)Jules Aguillon37-32/+43
The names are comprised of: script, layout name, country code. Co-authored-by: grim <verdastelo9604@hotmail.com>
2023-06-25Added Romanian layout and translations with special romanian characters (#358)Vasile Chelban2-0/+38
Added Romanian characters to the keyboard layout and changed the positioning corner for the secondary characters that were conflicting with the newly-introduced romanian characters Added Romanian translations
2023-06-25Add Bengali Provat Layout (#357)Sabbir2-0/+37
* Add Bengali Provat Layout I added bengali_provat layout and renamed old bengali to actual layout name.
2023-06-24Specify the script of every layouts and localesJules Aguillon34-65/+65
This new information will avoid showing é on a cyrillic layout and ґ on a latin layout.
2023-06-22Add ə to the extra keys for ItalianJules Aguillon1-1/+1
2023-06-04Add Kurdish Layout (#353)KuRa KuRd1-0/+39
Add Kurdish Keyboard Layout Qwerty Based Without Shift.
2023-06-03Add Voice Typing keyJules Aguillon1-1/+1
The new key switches to any installed "voice" input method. If several input methods matches, no effort is made to choose. Might misbehave with some input methods other than Google's on API < 28. It is placed on the middle of the arrows on the bottom bar. It is enabled by default and can be removed in the "Extra keys" option. The key is not removed from the keyboard if no voice input method exists.
2023-06-03More control over vibrationJules Aguillon1-1/+1
The newer haptic feedback API that is used instead of the vibrator service since ef03dfe doesn't work for everyone. The new vibration option allow to choose both the newer API ("system") and the older API ("strong", "medium", "light").
2023-05-24Modify persian layout and add some new characters (#348)Reza Hosseinzadeh1-28/+29
- Add character پ and ژ - Change math operators and symbols location
2023-05-12Increase the range of the "label size" optionJules Aguillon1-1/+1
2023-04-23Pull request to add new layout Persian (#342)Reza Hosseinzadeh1-0/+41
* Add persian layout * Change layoutId_of_string to layout_of_string * Add translation for Persian
2023-04-15Add language: IcelandicJules Aguillon1-2/+3
2023-03-11Add Arabic layout (#314)Mostafa Ayesh3-0/+87
* add arabic keyboard * use unicode values for special characters * add alternate layout * use arabic numbers
2023-03-11New Hindi layout (#313)Luke Videckis3-1/+33
* New Hindi layout * Update default layout for Marathi, Nepali * Consistent naming for Devanagari layouts
2023-03-05Add extra keys for UkrainianJules Aguillon1-1/+1
2023-03-05Add support for BelarusianJules Aguillon2-12/+12
It uses the russian layout with placed extra keys.
2023-03-05Remove the 'edgekeys' attributeJules Aguillon6-9/+9
2023-03-03Allow 8 symbols per keyJules Aguillon1-0/+21
'Keyboard.Key' now contains an array of size 9, giving each keyvalue an index. The algorithm for finding the nearest key during a swipe now needs 16 segments, which are now calculated as an angle. The algorithm does one more interation instead of 2 more, slightly reducing the sensitivity of corner values. The 'getAtDirection' function is moved into the Pointers class to clearly separate the two systems. The 'edgekey' attribute is now obsolete but is kept for compatibility. The flag is removed internally, key index are simply translated. Similarly, the 'slider' attribute now act on keys at index 5 and 6 instead of 2 and 3.
2023-02-26Allow key and keyboard opacity to be 0Jules Aguillon1-3/+3
2023-02-12Option to switch to the previous input methodJules Aguillon1-1/+4
A new option changes the "change_method" into the new "change_method_prev". It switch to the previously used input method. A long press on "change_method_prev" sends "change_method". A new section is added in the settings and existing options are moved.
2023-02-09Vietnamese keyboard (#291)Kazoku3-0/+41
Added missing accent (horn, hook, dot below) Added layout Added accent font svg (by modified existing accent)
2023-01-31Add layouts 'he_il_1452_1' and 'he_il_1452_2'Ram Kromberg4-1/+82
2023-01-30Add optional number rowJules Aguillon2-0/+14
An option is added to enable an extra number row at the top of the keyboard. Digits are removed from the keyboard while the number row is visible.
2023-01-30Apply modify_layout to text layout onlyJules Aguillon3-3/+3
Refactor. Allows to remove the 'extra_keys' and 'num_pad' flags and to implement more complicated transformations to the layouts.
2023-01-29Slightly increase the width of the spacebarJules Aguillon1-5/+5
The left and right arrows are less often needed and the key can be shorter.
2023-01-22Move cursor by sliding on the space barJules Aguillon1-1/+1
Send key events for the left or right arrow as the finger slides on the space bar. Can be used to select text by holding shift. Works under Termux. Events are sent linearly as the finger travels. The distance between each events is defined from the swiping distance divided by 4. 'slider="true"' can be set on a key that have 'edgekeys="true"'. 'key2' and 'key3' represent the right and left keys.
2023-01-22Remove the modulated repeatJules Aguillon1-1/+0
It allowed to modulate the repeat speed of some keys (arrow, backspace, delete) by move the finger farther or closer to the key. In practice, this wasn't pratical and doesn't seem popular. It is removed in favor of a better mechanism for moving the cursor.
2023-01-15Present the "keyboard height" option similarly to the margin optionsJules Aguillon1-2/+4
2023-01-15Separate option for bottom margin in landscape modeJules Aguillon1-1/+4
A large margin in portrait mode is desirable but generally not in landscape mode.
2023-01-15Separate option for horizontal margin in landscape modeJules Aguillon1-1/+4
A separate option is needed, the +25dp offset wasn't enough.
2023-01-14Add layout 'qwertz_sk'Jules Aguillon2-0/+40
Co-authored-by: Jozef Kundlak <ingjozefkundlak@gmail.com>
2022-12-30Add keys for every context menu actionsJules Aguillon1-0/+7
The most requested keys are undo and redo. Unfortunatly redo doesn't work reliably. The other context menu actions like share, assist and autofill are added even thought they are rarely useful or implemented.
2022-12-14qwerty_pl layout is default for Polish language (#253)Chasm Solacer1-1/+1
2022-12-11Make the keyboard transparent (#252)Chasm Solacer1-0/+3
* Add option for keyboard opacity (transparency). Keyboard background, keys and pressed keys can be adjusted separately. * Make the borders transparent as well * Moved setAlphas outside drawKeyFrame to top of onDraw method
2022-12-11Added qwerty_pl layout (#251)Chasm Solacer1-0/+37
* Updated pl translation * Added qwerty_pl.xml – QWERTY (Polski) layout
2022-12-10Add option 'numpad_layout'Jules Aguillon1-0/+1
Allow choosing whether to show the high or the low digits first. The numeric pane and the numpad are affected by the option.
2022-12-10Settings: Allow the keyboard to be smallerJules Aguillon1-2/+2
Some users reported that 25% of the screen height is too high on their screen. This doesn't seem to be a good way to define the height but until it is improved, allow smaller values.
2022-11-26Allow using a custom layoutJules Aguillon1-0/+3
Add an option for specifying an XML layout description as a string. The option is a bit rough at the moment: - No documentation, users have to be aware of the keyboard's code to use this option. - No error are shown, the layout will fallback to qwerty on error.
2022-11-13Add editing keys: copy, paste, cut, select allJules Aguillon1-0/+4
2022-11-13Allow switching quickly between two layoutsJules Aguillon4-5/+5
A new option allow to choose a secondary layout, the switching key is placed on the top edge of the space bar. The "Programming layout" option was basically doing that but it was possible to choose from a few layouts only. It is improved and renamed. The 'LayoutListPreference' allows setting the string for the first entry but otherwise share the rest of the array. Add nice icons from materialdesignicons.
2022-11-11Add option for brightness of labelsJules Aguillon1-0/+1
The brightness value is used as the alpha value when drawing the labels.
2022-11-06Enable pin layout for decimal and signed inputsJules Aguillon1-2/+2
Decimal and signed inputs are more common than expected. Adding a few keys is enough to support these.
2022-11-06Remove option "Lockable modifiers"Jules Aguillon1-9/+0
2022-11-05Add combinations to 'accent_slash' and show in settingsJules Aguillon1-0/+1
The 'accent_slash' was missing in the extra keys setting. Allow to type more latin letters "with oblique stroke" or "with stroke" that visually have an oblique bar, that were not added to 'accent_bar'.
2022-11-05Add the bar diacritic dead keyJules Aguillon1-0/+1
Allows to type many of the "with stroke" or "with bar" latin letters.