abouttreesummaryrefslogcommitdiff
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
2023-08-16LayoutsPreference: Remove cross button for custom layoutsJules Aguillon16-0/+16
Remove the cross button on the right of custom layouts to reduce accidental removal. A remove button is added in the dialog for modifying the layout.
2023-08-16Remove unused class LayoutListPreferenceJules Aguillon1-3/+0
This class is not used since the introduction of [LayoutsPreference].
2023-08-16Allow multiple custom layoutsJules Aguillon17-51/+33
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-16CustomExtraKeysPreference: Reusable edit text layoutJules Aguillon1-1/+1
This layout is generically used by CustomExtraKeysPreference and LayoutsPreference.
2023-08-15Update German Strings (#430)polyctena1-29/+29
Co-authored-by: Benjamin <f.weiss@stud.uni-goettingen.de>
2023-08-08Add missing Latvian translations (#425)Edgars1-33/+35
2023-08-07Updated pl (Polish) translation (#424)Chasm Solacer1-15/+15
2023-08-07Updated Czech translation (#421)Validbit1-26/+26
2023-08-07Update pt-Br translationssdrapha1-11/+11
2023-08-07Add superscript, subscript, ª and º to optional extrakeysRapha16-0/+64
And add description strings.
2023-08-07Add ordinals to ptbr extrakeysRapha1-1/+1
2023-08-06Describe editing keysJules Aguillon16-0/+176
The new strings are used in the "Add keys to the keyboard" option.
2023-08-06Remove the Accents optionJules Aguillon18-77/+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-06method.xml: Specify extra keys alternativesJules Aguillon1-15/+15
2023-08-06Update translations pt-br (#420)Rapha1-18/+18
2023-08-06Updated pl (Polish) translation (#419)Chasm Solacer1-9/+9
2023-08-05Add esc and tab to the Persian layoutJules Aguillon1-2/+2
2023-08-05Add Persian to method.xmlJules Aguillon1-0/+1
2023-08-05Modify arabic and persian numbers info function keysJules Aguillon2-3/+3
And add function keys placeholders in the layouts.
2023-08-05Update French translationsJules Aguillon1-9/+9
2023-08-05Translatable key descriptionsJules Aguillon16-0/+48
Key descriptions are shown in the "extra keys" option and can now be translated.
2023-08-04LauncherActivity: Visible, clickable and untranslatable linkJules Aguillon17-17/+18
The link to Github was not clickable and couldn't easily be made so in its current form. Render the link in its own paragraph and do not hide the URL.
2023-08-04Correct Farsi stringsJules Aguillon1-1/+1
2023-08-02Settings: Move "extra keys" higher on the pageJules Aguillon1-3/+3
And "Accents" lower.
2023-07-30Allow more than 2 layoutsJules Aguillon22-23/+42
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 Aguillon5-5/+10
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 Aguillon17-0/+33
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 KuRd2-2/+2
Correct layout name to Kurdish because Kurdish and Arabic are totally two different language.
2023-07-20Updated Spanish translation (#404)adu1-50/+50
2023-07-19Add custom extra keys preferenceJules Aguillon21-0/+30
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 Aguillon18-6/+17
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 Aguillon2-36/+6
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-02Updated/Added Czech translation + 2 common Fn keys (#387)Validbit1-40/+40
2023-07-01New default Czech layout (#380)frimdo3-28/+68
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-25Use generated arrays in Config.layout_of_stringJules Aguillon1-0/+40
This function is no longer an hardcoded list of layout ids. It's replaced by a linear scan of the previously generated array and a new corresponding array of resource ids.
2023-06-25Generate layouts arrays used in settingsJules Aguillon38-116/+120
`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 Aguillon38-93/+104
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 Chelban4-0/+125
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)Sabbir3-2/+41
* 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-07Update translations of Simplified Chinese (#377)six-61-28/+28
2023-06-04Add Kurdish Layout (#353)KuRa KuRd2-0/+41
Add Kurdish Keyboard Layout Qwerty Based Without Shift.
2023-06-03Updated pl (Polish) translation (#374)Chasm Solacer1-6/+6
2023-06-03Refactor: Remove dimens used as option defaultsJules Aguillon2-6/+0
The conversion into px was done twice, leading to wrong values.