Displays important information to the user.
alert element to display important information, such as a message telling the user to perform an action before continuing. At a minimum, provide a description of the alert and a button so the user can take any required actions. The following figure shows the basic layout for an
alert page. The theme for the alert template defaults to the system preference.
The following listing shows the main elements of the
alert element in TVML format:
Background elements, such as audio.
A button that typically allows the user to dismiss the alert or to bring up a new template page. The button element contains a text element that shows the name of the button.
The main text for the alert.
A brief description of what the button does.
The title of the alert, which should briefly communicate its purpose.
The following listing shows the TVML for an
The following figure shows the output for the above example: