abouttreesummaryrefslogcommitdiff
path: root/res/xml
AgeCommit message (Collapse)AuthorFilesLines
2023-08-02Settings: Move "extra keys" higher on the pageJules Aguillon1-3/+3
And "Accents" lower.
2023-07-30Allow more than 2 layoutsJules Aguillon4-5/+4
The two layout selection options are replaced by a ListGroupPreference that allow to enter an arbitrary amount of layouts. The "switch_second" and "switch_second_back" keys are replaced by "switch_forward" and "switch_backward", which allow to cycle through the selected layouts in two directions. Layouts are changed to place these two key on the space bar. The backward key is not shown if there's only two layouts.
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon1-1/+3
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-29Add dagger, double dagger, section mark, and pilcrow as extra keys on ↵Ben Slusky18-30/+30
QWERTY-like layouts (#410) * Add section mark as an extra key in QWERTY-like layouts that don't have it already * Add dagger (also double dagger) as an extra key in QWERTY-like layouts
2023-07-29Add '=' to pin entry layoutJules Aguillon1-1/+1
Might be useful in spreadsheets.
2023-07-29Add option to disable pin entry layoutJules Aguillon1-0/+1
The pin entry layout might be inferior for some usecases and people might be more used to the numeric layout.
2023-07-23Correct Kurdish layout name (#407)KuRa KuRd1-1/+1
Correct layout name to Kurdish because Kurdish and Arabic are totally two different language.
2023-07-19Add custom extra keys preferenceJules Aguillon1-0/+1
This is a new section in the extra keys option that allows to enter arbitrary strings which are then added to the keyboard. A new string is needed for the title of the section, Android's icons and strings are used as much as possible to avoid adding more strings. Keys are stored in the preferences as a JSON array of strings.
2023-07-19Refactor: Use a PreferenceCategory for extra keysJules Aguillon1-1/+1
This removes the need for a layout definition and adds a title before the prefs. It's a prerequise for the custom keys preference.
2023-07-17Improve the Persian layout (#397)Reza Hosseinzadeh1-21/+20
Change some characters' position
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