mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-16 04:12:02 +00:00
clarify that json layout contributions should only use key type and code if necessary
This commit is contained in:
parent
1b5ed60017
commit
c212d9e551
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ You can also specify special key codes like `a|!code/key_action_previous`, but i
|
|||
## Adding new layouts / languages
|
||||
* 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.
|
||||
* If you add a json layout, only add key type (`$`) and `code` if necessary
|
||||
* Add a layout entry to [`method.xml`](app/src/main/res/xml/method.xml)
|
||||
* `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)
|
||||
|
|
Loading…
Add table
Reference in a new issue