Skip to content

Keys#

Howto's#

Defaults#

Commented File-structure#

keys.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- All keys that can be configured -->
<keys version="1.34.0">
  <!-- On D-400/-600: virtual Xtension keys as part of the home-screen. D-400 only shows 20.
        type: list
        maximum: 40 elements -->
  <phoneXtensions>
    <!-- Describes a single functionkey.
          parameters:
            keyNumber: The number of the key. Uniquely identifies a key within a module.
                      type: integer
                      minimum: 1
            label: The name of the key.
                  If starting with @string/ an android resource is used.
                  type: string
            info: Detail info of the key mostly displayed on a second line
                  If starting with @string/ an android resource is used.
                  type: string
            icon: The icon of the key, base64 encoded.
                  The icon is scaled to fit the display container.
                  If starting with @drawable/ an android resource is used.
                  type: string -->
    <key keyNumber="1" label="" info="" icon="">
      <!-- Reference to the text element of the template name.
            type: string -->
      <templateName></templateName>
      <!-- List of parameters.
            type: list -->
      <parameters>
        <!-- parameters:
                name: Name of the parameter, has to be unique.
                      Often starts with "@string/" which enables to show the translated
                      name in WUI and PUI.
                      type: string
                value: type: string -->
        <parameter name="" value="">
        </parameter>
      </parameters>
    </key>
  </phoneXtensions>
  <!-- 60 Xtension keys on an extension module.
        type: list
        maximum: 60 elements -->
  <extensionModule1>
    <!-- Describes a single functionkey.
          parameters:
            keyNumber: The number of the key. Uniquely identifies a key within a module.
                      type: integer
                      minimum: 1
            label: The name of the key.
                  If starting with @string/ an android resource is used.
                  type: string
            info: Detail info of the key mostly displayed on a second line
                  If starting with @string/ an android resource is used.
                  type: string
            icon: The icon of the key, base64 encoded.
                  The icon is scaled to fit the display container.
                  If starting with @drawable/ an android resource is used.
                  type: string -->
    <key keyNumber="1" label="" info="" icon="">
      <!-- Reference to the text element of the template name.
            type: string -->
      <templateName></templateName>
      <!-- List of parameters.
            type: list -->
      <parameters>
        <!-- parameters:
                name: Name of the parameter, has to be unique.
                      Often starts with "@string/" which enables to show the translated
                      name in WUI and PUI.
                      type: string
                value: type: string -->
        <parameter name="" value="">
        </parameter>
      </parameters>
    </key>
  </extensionModule1>
  <!-- 60 Xtension keys on an extension module.
        type: list
        maximum: 60 elements -->
  <extensionModule2>
    <!-- Describes a single functionkey.
          parameters:
            keyNumber: The number of the key. Uniquely identifies a key within a module.
                      type: integer
                      minimum: 1
            label: The name of the key.
                  If starting with @string/ an android resource is used.
                  type: string
            info: Detail info of the key mostly displayed on a second line
                  If starting with @string/ an android resource is used.
                  type: string
            icon: The icon of the key, base64 encoded.
                  The icon is scaled to fit the display container.
                  If starting with @drawable/ an android resource is used.
                  type: string -->
    <key keyNumber="1" label="" info="" icon="">
      <!-- Reference to the text element of the template name.
            type: string -->
      <templateName></templateName>
      <!-- List of parameters.
            type: list -->
      <parameters>
        <!-- parameters:
                name: Name of the parameter, has to be unique.
                      Often starts with "@string/" which enables to show the translated
                      name in WUI and PUI.
                      type: string
                value: type: string -->
        <parameter name="" value="">
        </parameter>
      </parameters>
    </key>
  </extensionModule2>
  <!-- 60 Xtension keys on an extension module.
        type: list
        maximum: 60 elements -->
  <extensionModule3>
    <!-- Describes a single functionkey.
          parameters:
            keyNumber: The number of the key. Uniquely identifies a key within a module.
                      type: integer
                      minimum: 1
            label: The name of the key.
                  If starting with @string/ an android resource is used.
                  type: string
            info: Detail info of the key mostly displayed on a second line
                  If starting with @string/ an android resource is used.
                  type: string
            icon: The icon of the key, base64 encoded.
                  The icon is scaled to fit the display container.
                  If starting with @drawable/ an android resource is used.
                  type: string -->
    <key keyNumber="1" label="" info="" icon="">
      <!-- Reference to the text element of the template name.
            type: string -->
      <templateName></templateName>
      <!-- List of parameters.
            type: list -->
      <parameters>
        <!-- parameters:
                name: Name of the parameter, has to be unique.
                      Often starts with "@string/" which enables to show the translated
                      name in WUI and PUI.
                      type: string
                value: type: string -->
        <parameter name="" value="">
        </parameter>
      </parameters>
    </key>
  </extensionModule3>
  <!-- 4 keys below the display
        type: list
        maximum: 4 elements -->
  <homeScreen>
    <!-- Describes a single functionkey.
          parameters:
            keyNumber: The number of the key. Uniquely identifies a key within a module.
                      type: integer
                      minimum: 1
            label: The name of the key.
                  If starting with @string/ an android resource is used.
                  type: string
            info: Detail info of the key mostly displayed on a second line
                  If starting with @string/ an android resource is used.
                  type: string
            icon: The icon of the key, base64 encoded.
                  The icon is scaled to fit the display container.
                  If starting with @drawable/ an android resource is used.
                  type: string -->
    <key keyNumber="1" label="" info="" icon="">
      <!-- Reference to the text element of the template name.
            type: string -->
      <templateName></templateName>
      <!-- List of parameters.
            type: list -->
      <parameters>
        <!-- parameters:
                name: Name of the parameter, has to be unique.
                      Often starts with "@string/" which enables to show the translated
                      name in WUI and PUI.
                      type: string
                value: type: string -->
        <parameter name="" value="">
        </parameter>
      </parameters>
    </key>
  </homeScreen>
</keys>