Layout inheritance
You can derive a layout from an existing layout. This process is based on merging the information from the derived layout on top of the information that the base layout contains.
- For layouts defined as types, the base layout is the layout of the base type (if any).
- For layouts defined in JSON, you can specify the base layout in the
extendsproperty of the root node. - For layouts created in code using
InputControlLayout.Builder, you can specify a base layout usingInputControlLayout.Builder.Extend().