mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-20 14:19:08 +00:00
Update layouts.md
This commit is contained in:
parent
27259ac376
commit
a0324b54d7
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ If you want different key label and use text, set the label to [label]|[text], e
|
||||||
* You need a layout file in one of the formats above, and add it to [layouts](app/src/main/assets/layouts)
|
* You need a layout file in one of the formats above, and add it to [layouts](app/src/main/assets/layouts)
|
||||||
* Popup keys in the layout will be in the "Layout" popup key group.
|
* Popup keys in the layout will be in the "Layout" popup key group.
|
||||||
* Add a layout entry to [method.xml](app/src/main/res/xml/method.xml)
|
* Add a layout entry to [method.xml](app/src/main/res/xml/method.xml)
|
||||||
* `KeyboardLayoutSet` must be set to the name of your layout file (without file ending)
|
* `KeyboardLayoutSet` in `android:imeSubtypeExtraValue` must be set to the name of your layout file (without file ending)
|
||||||
|
* `android:subtypeId` must be set to a value that is unique in this file (please use the same length as for other layouts)
|
||||||
* If you add a layout to an existing language, add a string with the layout name to use instead of `subtype_generic`. `%s` will be replaced with the language
|
* If you add a layout to an existing language, add a string with the layout name to use instead of `subtype_generic`. `%s` will be replaced with the language
|
||||||
* If you add a new language, you might want to provide a [language_key_texts](/app/src/main/assets/language_key_texts) file
|
* If you add a new language, you might want to provide a [language_key_texts](/app/src/main/assets/language_key_texts) file
|
||||||
* `[popup_keys]` section contains popup keys that are similar to the letter (like `a` and `ä` or `य` and `य़`)
|
* `[popup_keys]` section contains popup keys that are similar to the letter (like `a` and `ä` or `य` and `य़`)
|
||||||
|
|
Loading…
Add table
Reference in a new issue