<? xml ...>- XML ​​declaration, only ANSI encoding supported
<main>...</ main>- root element, all that is not used outside these tags, more than one root element cannot be
may contain the following default parameters
font - font name
size - font size
color - font color (for example color = "# FF0000" - red)
style - font style: bold, italic, underline, cleartype (can be listed separated by commas)
format_time - time format
format_date - date format
phone_off - string to be substituted instead of the name of the operator (if the telephone module is turned off)
<row>...</ row>- string tag, may contain several page tags, if it contains more than one page, then scrolling is possible
may contain the following parameters
height - line height
returntime - time (seconds) before returning to the first page after switching to another page, 0 / not set - no return
<page>...</ page>- page tag, must be located inside the tags of the string
may contain the following parameters
name - the name of the page, the information parameter for convenience, is not used anywhere
<item>...</ item>or<item ... />- object tag, must be placed inside page tags
may contain the following parameters
type - object type: link - link to file, image - image, calendar - calendar, meter - "ruler", if not specified, then a text object
id - object identifier, for various actions associated with the object, carefully assign identifiers, because with repetition, actions may overlap
left, top, width, height - coordinates and sizes of objects
align - horizontal alignment: left, center, right, none
valign - vertical alignment: top, center, bottom, none
font - font name
size - font size
color - font color
style - font style
bgcolor - background color, if not specified, then the background is transparent
selcolor - color when clicking on an object, it can be used to visualize clicking on labels (link) or other objects
margin-left - indent from the left edge of the object
margin-top - indent from the top edge of the object
margin-right - indent from the right edge of the object
margin-bottom - indent from the bottom edge of the object
visible — object visibility: 0 — invisible, 1 — visible (by default)
special parameters for calendar:
color_today - color to highlight the current day
color_weekend - color for the weekend
color_other - color for days from other months
weeks - the number of displayed weeks: 1 - current week, 3 - previous, current and next week, 6 - the entire current month
special parameters for link:
icon - type of file icon: small - small, big - large (by default, you can omit it)
<event>...</ event>- an event, you can assign actions when various events are triggered
may contain the following parameters
type - event type
The following event types are supported:
onclick - tap on the object
ondblclick - double tap on the object
alarm_off - the system alarm is off
alarm_on - system alarm is on
no_calls - no missed calls (there were before)
missed_calls - there are missed calls (before that was not)
no_sms - no unread sms
unread_sms - there are unread sms
no_mms - no unread mms
unread_mms - there are unread mms
no_emails - no unread emails
unread_emails - there are unread emails
bt_off - the BlueTooth module has been turned off
bt_on - the BlueTooth module has been enabled
wifi_off - the Wi-Fi module was turned off
wifi_on - the wifi module has been enabled
tags should be placed inside event tags<item>...</ item>which, using the id parameter, are associated with objects and show what actions should be performed when an event triggers
The following actions are supported:
show - show the specified object
hide - hide the specified object
all other actions are perceived as a link to a file, when they are triggered, an attempt will be made to launch the specified file
You can read about the design of xml-documents here:
http://ru.wikipedia.org/wiki/Xmltemplates used in the text:
[time | format] - the current time | output format (for example [time | HH: mm])
[date | format] - the current date | output format (for example [date | dd.MM.yyyy])
[alarm | format] - the time of the next alarm clock | output format (for example [alarm | HH: mm])
[operator] - operator name
[calls] - the number of missed calls
[sms] - the number of unread sms
[mms] - the number of unread mms
[emails] - the number of unread emails
[bt] - BlueTooth module state (on / off)
[wifi] - Wi-Fi module status (on / off)
[battery] - battery level
[ram | format] - amount of free operative memory | output format:% (% free),% used, total, free, used
[rom | format] - the amount of free space in the device's memory | output format:% (% free),% used, total, free, used
[card | format | SDMMC] - the amount of free space on the memory card | output format:% (% free),% used, total, free, used | name of the memory card (the card name is optional)
output formats (format) can be omitted, the default formats will be used
replaceable special characters:
& lt; or & # 60; -<
& gt; or & # 62; ->
& quot; or & # 34; - "
& #91; - [
& #93; - ]
& nbsp; or & # 160; - non-breaking space
& br; - line translation
(spaces after & must be removed, just the forum converts these codes into symbols)