abouttreesummaryrefslogcommitdiff
path: root/res/xml/settings.xml
AgeCommit message (Collapse)AuthorFilesLines
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-03-27Remove symbols from the number row by default (#964)Jules Aguillon1-1/+1
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>
2024-09-21Increase default label size (#747)bokidori1-1/+1
Change default label size to 1.15
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-09Option to tweak or disable the circle gestureJules Aguillon1-0/+1
2024-02-10Custom border settings (#524)RetrogisusDEV1-0/+3
2024-01-28Redefined the key margin options in percentJules Aguillon1-2/+2
Define the key margin options relative to the baseline dimensions of keys. This removes the doubling of the horizontal margin in landscape mode.
2024-01-13Refactor: New namespace for preference classesJules Aguillon1-19/+19
2024-01-09Revert "Remove the vibration settings"Jules Aguillon1-1/+2
This reverts commits ef03dfed5c802a855c4655204eee39a8769cfed7 and ff01678ba688778d67f824a0be56634974c1b0e8. The "vibration duration" slider is bought back. The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration. The slider is greyed when "custom vibration" is unchecked and is allowed to have a value of 0 to disable vibrations within the app. The intermediate values "light", "medium" and "strong" are removed and no migration of the setting is made.
2023-08-16Allow multiple custom layoutsJules Aguillon1-3/+0
This merges the "Layouts" option with the "Custom layout" option. A custom layout becomes an item in the "Layouts" list among the other layouts. It's possible to add several custom layouts. Selecting the "Custom layout" item in the list opens a second dialog for entering the layout description. Layouts are serialized as JSON object and are decoded solely in the LayoutsPreference class.
2023-08-06Remove the Accents optionJules Aguillon1-1/+0
This option makes less sense since per-script extra keys. It's also getting in the way of an eventual "dead-key or accented-letters" option.
2023-08-02Settings: Move "extra keys" higher on the pageJules Aguillon1-3/+3
And "Accents" lower.
2023-07-30Allow more than 2 layoutsJules Aguillon1-2/+1
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 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-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-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-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-12Increase the range of the "label size" optionJules Aguillon1-1/+1
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)Kazoku1-0/+3
Added missing accent (horn, hook, dot below) Added layout Added accent font svg (by modified existing accent)
2023-01-30Add optional number rowJules Aguillon1-0/+1
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-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.
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-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-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 Aguillon1-2/+2
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-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.
2022-10-23Add optional NumPadGero Streng1-0/+1
Shows a NumPad depending on preference: Never/Landscape/Always
2022-10-23Add the capslock keyJules Aguillon1-0/+4
The key enable caps lock immediately. It does nothing if caps lock is already enabled. It is not present on the keyboard by default but a place is defined on every layout, top-right of the shift key. It can be enabled in the settings. The icon is from materialdesignicons.com.
2022-09-24Add switch_greekmath to the extra keysJules Aguillon1-0/+1
The Fn+switch_numeric shortcut might be hard to discover or too slow for heavy users. A location is allocated for the key so it has a consistent placement.
2022-09-19Add the Extra Keys optionJules Aguillon1-1/+18
Allows to add more keys to the keyboard from a predefined list. The implementation doesn't use MultiSelectListPreference because it doesn't seem possible to change the item layout to properly show the rendered symbols.
2022-07-24Hold any modifier to lockJules Aguillon1-1/+1
Modifiers can be locked with a long press. The key repeat mechanism is re-used and the press timeout is the same. Every modifiers can be locked that way, not only the "lockable" ones. The previous behavior can be enabled in the settings (for shift only) but the default is changed.
2022-07-24Add an option to control auto capitalisationJules Aguillon1-0/+1
2022-06-24Revert "Remove the vibration settings"Jules Aguillon1-0/+1
Bring back the "Vibration" option. The duration option isn't added back because the vibration settings are still handled by Android. In fact, the option has no effect if the vibration are disabled in the system settings. This partially reverts commit ef03dfed5c802a855c4655204eee39a8769cfed7.
2022-06-06Remove the vibration settingsJules Aguillon1-4/+0
Instead of using the vibrator directly, use performHapticFeedback, which will integrate better with the system settings.
2022-06-06New setting: Keyboard height in landscape modeJules Aguillon1-0/+1
The previous fixed value of 55% was too high. The new default value is 50% and it is customizable.
2022-04-03Add the Programming Layout optionJules Aguillon1-0/+1
Allow specifying a layout for programming and add a key for switching to it easily. The switching key is placed on the top edge of the space bar. The option has no effect by default because the ergonomic isn't ideal, it needs to be enabled explicitly. Users of Latin-script languages certainly prefer to use one layout (for programming or not). This feature might be removed in favor of a better language-switching mechanisms in the future.
2022-04-02`Arrows` and `Box` system (#114)Raphael1-0/+1
* Add `Arrows` and `Box` accent system